Generation of any SQL command to the database (From entities or migration versions) does not quote all the reserved keywords (For example a fieldname `right`.
Simple fix that always works: double-quote dbname, schemaname and fieldname
e.g "dbsecurity"."userschema"."users" or "tblusers"
MySQL : use the ` sign.
e.g `security`.`users` or `tblusers` (No support for schemas since I last checked some time ago)