0

I'm using the sequelize in my project to modelling my database for a API REST,but when a try to create a migration for my db, the sequelize only shows me the options for the execution,event though I already using the right commands to create the migration. Sequelize,sequelize-cli are already installed,I'm using mariadb. I already tested change the equal sign for a space between the "create" and "alunos", tried double quotes and single quotes on create and alunos too.

enter image description here

1 Answers1

0

The syntax for generating migrations is

npx sequelize-cli migration:generate --name NameOfMigration

boc4life
  • 941
  • 5
  • 10