cli
cli copied to clipboard
Add association support to model generation
sequelize model:create --name Task --attributes title:string --associations "belongsTo:User, hasMany:Contributor"
I too would love to see this implemented.
+1 :-)
:+1:
I'm going to give it a whirl. I too have wanted to see Sequelize-CLI be able to handle more of the grunt work of modifying models after creation and creating associations between models.
:+1:
+2
+1
Is there a way to do this manually and still use the structure and functionality of Sequelize-CLI?
I was searching if this was implemented or not. Definitely wanted! :+1:
+1
+1
+1
Instead of +1, you can "subscribe" to the thread and be assured you will receive notifications.
what is contributor here
Just wanted to ask since it doesn't seem there's been any activity on this issue in over two years. Has any progress been made related to this?
Hey guys! I am working on this.