Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 409 Bytes

README.md

File metadata and controls

14 lines (10 loc) · 409 Bytes

Migrations to DB

npx sequelize db:migrate

Create Migration

npx sequelize-cli migration:generate --name <name>

Create Model Migration with attributes

npx sequelize-cli model:generate --name <name> --attributes <firstAttribute:string>,<lastAttribute:number>

Revert migrations

npx sequelize db:migrate:undo:all

Run specific seeds

npx sequelize-cli seed:generate --name <name of seed>