From c7157585b07bb0d7fb862019a0a079701f856764 Mon Sep 17 00:00:00 2001 From: Sebastian Schuster Date: Fri, 18 Oct 2013 15:21:01 +0200 Subject: [PATCH] Added reset_column_information to changed models --- CHANGELOG.rdoc | 2 +- .../20130625094113_add_backlogs_column_to_work_package.rb | 1 + ...0130919092624_add_backlog_columns_to_work_package_journal.rb | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.rdoc b/CHANGELOG.rdoc index 1fa9bd1e85..ce610c1ac6 100644 --- a/CHANGELOG.rdoc +++ b/CHANGELOG.rdoc @@ -1,5 +1,5 @@ -* `2413` Squashed old migrations +* `#2413` Squashed old migrations = 3.0.4.pre8 diff --git a/db/migrate/20130625094113_add_backlogs_column_to_work_package.rb b/db/migrate/20130625094113_add_backlogs_column_to_work_package.rb index 5fb2f4fb99..d1a4fd2c94 100644 --- a/db/migrate/20130625094113_add_backlogs_column_to_work_package.rb +++ b/db/migrate/20130625094113_add_backlogs_column_to_work_package.rb @@ -3,5 +3,6 @@ class AddBacklogsColumnToWorkPackage < ActiveRecord::Migration add_column :work_packages, :position, :integer add_column :work_packages, :story_points, :integer add_column :work_packages, :remaining_hours, :float + WorkPackage.reset_column_information end end diff --git a/db/migrate/20130919092624_add_backlog_columns_to_work_package_journal.rb b/db/migrate/20130919092624_add_backlog_columns_to_work_package_journal.rb index 4cb7b5b7e5..8eb9c15b45 100644 --- a/db/migrate/20130919092624_add_backlog_columns_to_work_package_journal.rb +++ b/db/migrate/20130919092624_add_backlog_columns_to_work_package_journal.rb @@ -8,5 +8,6 @@ class AddBacklogColumnsToWorkPackageJournal < ActiveRecord::Migration :project_id, :type_id], :name => 'work_package_journal_on_burndown_attributes' + Journal::WorkPackageJournal.reset_column_information end end