https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292012-07-03T15:52:51ZRedmineRedmine - Patch #11299: redmine:plugins:migrate should update db/schema.rbhttps://www.redmine.org/issues/11299?journal_id=394362012-07-03T15:52:51ZNitish Upreti
<ul></ul><p>Even I just noticed it, This should be fixed ASAP.<br /><a class="user active" href="https://www.redmine.org/users/9013">Jean Lacoste</a> Any idea how to make a clone of development database into your test database with all migrations already running and schema dump being inaccurate?</p> Redmine - Patch #11299: redmine:plugins:migrate should update db/schema.rbhttps://www.redmine.org/issues/11299?journal_id=395012012-07-06T21:42:51ZJean-Baptiste Barth
<ul></ul><p>You can manually trigger a db:schema:dump: <pre>
RAILS_ENV=development rake db:schema:dump
RAILS_ENV=test rake db:reset db:schema:load
</pre></p> Redmine - Patch #11299: redmine:plugins:migrate should update db/schema.rbhttps://www.redmine.org/issues/11299?journal_id=400282012-07-29T18:11:26ZJean-Baptiste Barth
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Resolved</i></li><li><strong>Assignee</strong> set to <i>Jean-Baptiste Barth</i></li><li><strong>Target version</strong> set to <i>Candidate for next minor release</i></li></ul><p>Added in <a class="changeset" title="Invoke db:schema:dump after plugin migrations so that db/schema.rb stays up-to-date" href="https://www.redmine.org/projects/redmine/repository/svn/revisions/10134">r10134</a> (sorry I forgot the id of the ticket :/).</p>
<p>Jean-Philippe, Toshi, or Etienne: I let you merge that in a stable branch when you think it's appropriate.</p> Redmine - Patch #11299: redmine:plugins:migrate should update db/schema.rbhttps://www.redmine.org/issues/11299?journal_id=400292012-07-29T18:15:56ZJean-Philippe Langjp_lang@yahoo.fr
<ul><li><strong>Target version</strong> changed from <i>Candidate for next minor release</i> to <i>2.0.4</i></li></ul> Redmine - Patch #11299: redmine:plugins:migrate should update db/schema.rbhttps://www.redmine.org/issues/11299?journal_id=407502012-09-06T17:31:13ZJean-Philippe Langjp_lang@yahoo.fr
<ul><li><strong>Status</strong> changed from <i>Resolved</i> to <i>Closed</i></li></ul><p>Merged in 2.0-stable.</p> Redmine - Patch #11299: redmine:plugins:migrate should update db/schema.rbhttps://www.redmine.org/issues/11299?journal_id=1124972024-01-24T23:48:03ZGo MAEDA
<ul><li><strong>Has duplicate</strong> <i><a class="issue tracker-3 status-5 priority-3 priority-lowest closed" href="/issues/4580">Patch #4580</a>: Run rake db:schema:dump after rake db:migrate_plugins</i> added</li></ul>