Продолжение модели CLI Generate
npx sequelize-cli model:generate --name User --attributes firstName:string,lastName:string,email:string
Caped Baldy
npx sequelize-cli model:generate --name User --attributes firstName:string,lastName:string,email:string
npm install --save-dev sequelize-cli
npx sequelize-cli init
code .
mkdir sequelize-project
cd sequelize-project
npm init -y
npm install sequelize pg
npm install --save-dev sequelize-cli
npx sequelize-cli model:generate --name User --attributes firstName:string,lastName:string,email:string,password:string
npx sequelize-cli db:migrate