Added reset_column_information to changed models

pull/6827/head
Sebastian Schuster 11 years ago
parent 04bae8b81d
commit c7157585b0
  1. 2
      CHANGELOG.rdoc
  2. 1
      db/migrate/20130625094113_add_backlogs_column_to_work_package.rb
  3. 1
      db/migrate/20130919092624_add_backlog_columns_to_work_package_journal.rb

@ -1,5 +1,5 @@
* `2413` Squashed old migrations
* `#2413` Squashed old migrations
= 3.0.4.pre8

@ -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

@ -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

Loading…
Cancel
Save