parent
4f334b05c0
commit
46c13f23cd
@ -1,7 +1,9 @@ |
||||
class AddCostsColumnToWorkPackage < ActiveRecord::Migration |
||||
def change |
||||
add_column :work_packages, :cost_object_id, :integer |
||||
WorkPackage.reset_column_information |
||||
|
||||
rename_column :cost_entries, :issue_id, :work_package_id |
||||
CostEntry.reset_column_information |
||||
end |
||||
end |
||||
|
@ -1,5 +1,6 @@ |
||||
class AddCostObjectIdToWorkPackageJournals < ActiveRecord::Migration |
||||
def change |
||||
add_column :work_package_journals, :cost_object_id, :integer, null: true |
||||
WorkPackageJournal.reset_column_information |
||||
end |
||||
end |
||||
|
Loading…
Reference in new issue