Skip to content
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

ENUM problem #278

Closed
tbw777 opened this issue Mar 29, 2016 · 2 comments
Closed

ENUM problem #278

tbw777 opened this issue Mar 29, 2016 · 2 comments

Comments

@tbw777
Copy link

tbw777 commented Mar 29, 2016

I have follow cmd script:

SET seq="./node_modules/.bin/sequelize.cmd"
call %seq% model:create --name items --attributes name:string,condition:enum --underscored

  1. How i can set enum correctly, like {condition:enum,values:['active','pending','deleted']}?
    I'm already trying many combinations, but without result.
  2. How i can set oneToMany/ManyToMany and etc.

UPD.
3. Also i need to gen getter and setters methods.

@andhikamaheva
Copy link

This problems same with me, i want add some enum values with CLI

@sushantdhiman
Copy link
Contributor

Moved to #550

codetriage-readme-bot pushed a commit to codetriage-readme-bot/cli that referenced this issue Jun 5, 2019
Download: Create files with 0644, support directory structures
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants