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
ERROR: Dialect undefined does not support db:create / db:drop commands
I want "databases" set in config.js to be applied to create.
I know that read databases based on config.js and setting models in sequelize.
But cli doesn't work to create "databases" that setted within config.js.
Is there any way to do this(Create "databases" using cli or any other way)?
Dialect: mysql Database version: Ver 8.0.28 for Win64 on x86_64 Sequelize CLI version: ^6.4.1 Sequelize version: ^6.19.0
The text was updated successfully, but these errors were encountered:
As far as I know the CLI does not support multiple databases. PRs from the community slowly adding support for multiple databases is welcome.
For now something you can do is just set up the first database, update the config to the second database and run the same commands on the second database.
What you are doing?
<config.js>
What do you expect to happen?
I want to input "sequelize db:create" in terminal
What is actually happening?
Just print Error message!!!
example...
I want "databases" set in config.js to be applied to create.
I know that read databases based on config.js and setting models in sequelize.
But cli doesn't work to create "databases" that setted within config.js.
Is there any way to do this(Create "databases" using cli or any other way)?
Dialect: mysql
Database version: Ver 8.0.28 for Win64 on x86_64
Sequelize CLI version: ^6.4.1
Sequelize version: ^6.19.0
The text was updated successfully, but these errors were encountered: