sequelize Command Examples

Promise-based Node.js ORM for Postgres, MySQL, MariaDB, SQLite and Microsoft SQL Server. More information: https://sequelize.org/.

sequelize model:generate --name {{table_name}} --attributes {{field1:integer,field2:string,field3:boolean}}

sequelize db:migrate

sequelize db:migrate:undo:all

sequelize seed:generate --name {{seed_filename}}

sequelize db:seed:all