-
-
Notifications
You must be signed in to change notification settings - Fork 525
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(mode:generate) add enum support #704
Conversation
Hello! Best, |
Add support for `model:generate --name User role:enum:{Admin, Guest}` Closes sequelize#550
2a8d82d
to
de3fc63
Compare
Looks good, you can add an example here https://github.com/sequelize/cli/blob/master/docs/FAQ.md#how-can-i-generate-a-model |
@sushantdhiman I updated the FAQ with the additional enum. Thanks for pointing me in the right direction. |
Am I crazy or does this cli syntax NOT work at all? This is what I type into my terminal:
Result:
|
Hi @achacttn
or...
Unfortunately, that's probably going to confuse a fair amount of people. I'll post an update to the documentation. Thank you for letting me know. |
Hello, @mkly
|
Add support for
model:generate --name User role:enum:{Admin, Guest}
Closes #550