cli
cli copied to clipboard
Possible to generate migrations to update existing models?
Is there a way to generate migrations to update existing models? eg. adding a column.
Can you be more explicit in what you'd like to see?
in rails you can do
rails generate migration AddPhoneColumnToUsers phone:integer
Which generates the migrations automatically. it's really handy. More info: http://guides.rubyonrails.org/active_record_migrations.html
Random rant: If just a Node ORM would be a bit more mature and well-polished like ActiveRecord, I think a lot even more people would use node for web dev. I'm switching back to rails after testing out Node+Express+Sequelize, it's just to much hassle compared to how well-polished things are in the rails-world. But I hope it changes in the future for Node, since rails is slowww :)
is this feature added ??