-
How do you create a migration for a new model?
$ sequelize model:create --name User --attributes "email:string, password:string"
-
How do you create a migration for a new model with an association? Run step 1, then add it yourself.
- How do you create a migration for an existing model?
$ sequelize migration:generate --name doSomeThingsHere