Reputation: 48453
I updated my DB schema a I would need to update a migrations by this schema. Exist any elegant way to do it or I have to update my migrations manually?
Thank you
Upvotes: 0
Views: 583
Reputation: 6337
You don't generate migrations from the schema.rb
file. Instead, use rails generate migration
, or generate them as part of your models.
Upvotes: 1