sequelize / cli

The Sequelize CLI
MIT License
2.53k stars 529 forks source link

Running migrations, on Azure database #1448

Open juank2808 opened 7 months ago

juank2808 commented 7 months ago

What you are doing?

I need to run the migrations to create the tables in my database, currently my database is on an azure MySQL server, how do I run the migrations from my local host?

What do you expect to happen?

I hope I can see the generated table when I run the command npx sequelize-cli db:migrate

What is actually happening?

npx sequelize-cli db:migrate

Sequelize CLI [Node: 18.18.0, CLI: 6.6.2, ORM: 6.35.2]

Loaded configuration file "config\config.json". Using environment "development". No migrations were executed, database schema was already up to date.

Dialect: mysql Database version: 8 Sequelize CLI version: 6.6.2 __Sequelize version: 6.35.2

shhahhussain commented 7 months ago

Check your config\config.json file to ensure it contain the correct credentials for your Azure database.