redmine:plugins:migrate should update db/schema.rb
|Assignee:||Jean-Baptiste Barth||% Done:|
I don't know if it's actually a defect or if it's intentional, but
redmine:plugins:migrate task doesn't invoke
db:schema:dump, hence it does not update the
db/schema.rb file. It causes at least unintuitive behaviour when cloning the database structure or when testing plugins for instance, as the
test task invokes active_record's
db:schema:load and it might not be up to date.
Any opinion about this ? Can someone think about this as intentional and why ? If not I can commit this later.
Invoke db:schema:dump after plugin migrations so that db/schema.rb stays up-to-date
#3 Updated by Jean-Baptiste Barth about 6 years ago
- Status changed from New to Resolved
- Assignee set to Jean-Baptiste Barth
- Target version set to Candidate for next minor release
Added in r10134 (sorry I forgot the id of the ticket :/).
Jean-Philippe, Toshi, or Etienne: I let you merge that in a stable branch when you think it's appropriate.