Answers for "Creating the first Model (and Migration)"

0

Creating the first Model (and Migration)

# using npm
npx sequelize-cli model:generate --name User --attributes firstName:string,lastName:string,email:string
# using yarn
yarn sequelize-cli model:generate --name User --attributes firstName:string,lastName:string,email:string
Posted by: Guest on February-21-2022

Code answers related to "Creating the first Model (and Migration)"

Browse Popular Code Answers by Language