install sequelize cli 1

install sequelize cli

 npx sequelize-cli migration:create --name your_migration_name

Here is what the above code is Doing:
1. We’re importing the Sequelize library
2. We’re importing the config.json file, which holds our database configuration
3. We’re initializing Sequelize with our database configuration
4. We’re exporting our database connection for use in other files

Similar Posts