-
-
Notifications
You must be signed in to change notification settings - Fork 527
Why I cannot generate model using attribute enum with defaultValue? #1545
Open
Description
I was trying to generate model using below command but didn't work:
npx sequelize-cli model:generate --name Profile --attributes username:string,imageUrl:string,fullname:string,dateOfBirth:date,UserId:UUID,role:enum:'{staff,admin}':defaultValue:staff
Why I cannot generate model using attribute enum with defaultValue? If I delete defaultValue part its working
npx sequelize-cli model:generate --name Profile --attributes username:string,imageUrl:string,fullname:string,dateOfBirth:date,UserId:UUID,role:enum:'{staff,admin}'
Metadata
Metadata
Assignees
Labels
No labels
Type
Fields
Give feedbackNo fields configured for issues without a type.