Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Running migrations, on Azure database #1448

Open
juank2808 opened this issue Jan 18, 2024 · 1 comment
Open

Running migrations, on Azure database #1448

juank2808 opened this issue Jan 18, 2024 · 1 comment

Comments

@juank2808
Copy link

juank2808 commented Jan 18, 2024

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
Copy link

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

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants