You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
aledalgrande
changed the title
The db:create command fails if the name contains a hyphen
The db:create command fails if the database name contains a hyphen
Sep 19, 2017
Hey, this is still an issue, is it ok if we re-open it? I have made a PR that has tests and should fix the issue. Which is also a big problem for connection string usage, as you cannot wrap the database name with quotes as double-quotes get encoded by url.parse to %22.
What you are doing?
The config file:
The command:
What do you expect to happen?
The database is created.
What is actually happening?
The code at https://github.com/sequelize/cli/blob/master/src/commands/database.js#L22 should be using quotes to make this work I think.
Output, either JSON or SQL
Dialect: postgres
Database version: 9.6.3
Sequelize CLI version: 3.0.0-3
Sequelize version: 4.8.4
The text was updated successfully, but these errors were encountered: