Project

General

Profile

Actions

Patch #11299

closed

redmine:plugins:migrate should update db/schema.rb

Added by Jean-Baptiste Barth over 12 years ago. Updated about 12 years ago.

Status:
Closed
Priority:
Low
Category:
Database
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

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.


Files

redmine_plugins_migrate.patch (400 Bytes) redmine_plugins_migrate.patch Jean-Baptiste Barth, 2012-07-01 22:00

Related issues

Has duplicate Redmine - Patch #4580: Run rake db:schema:dump after rake db:migrate_pluginsClosed2010-01-14

Actions
Actions

Also available in: Atom PDF