BlueHotDog / sails-migrations

The missing, migrations, arm of the octopus
MIT License
157 stars 36 forks source link

Fix incorrect quote marks to escape db names #61

Closed marekkalnik closed 9 years ago

marekkalnik commented 9 years ago

The correct escaping character for database names in MySQL is backtick (`) unless the ANSI_QUOTES mode is enabled. In any case backtick works so it is safer to use it for MySQL.

See: https://dev.mysql.com/doc/refman/5.0/en/identifiers.html

Fixes #60