CmdID

CmdID / Commands

sequelize

Promise-based Node.js ORM for Postgres, MySQL, MariaDB, SQLite, and Microsoft SQL Server. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Create a model with 3 fields and a migration file

sequelize model:generate --name table_name --attributes field1:integer,field2:string,field3:booleanIdentify

Run the migration file

sequelize db:migrateIdentify

Revert all migrations

sequelize db:migrate:undo:allIdentify

Create a seed file with the specified name to populate the database

sequelize seed:generate --name seed_filenameIdentify

Populate database using all seed files

sequelize db:seed:allIdentify