6 changed files with 23 additions and 11 deletions
@ -0,0 +1,13 @@
|
||||
class RemoveManagingOrganisationIdFromSalesLogs < ActiveRecord::Migration[7.0] |
||||
def up |
||||
change_table :sales_logs, bulk: true do |t| |
||||
t.remove :managing_organisation_id |
||||
end |
||||
end |
||||
|
||||
def down |
||||
change_table :sales_logs, bulk: true do |t| |
||||
t.column :managing_organisation_id, :bigint |
||||
end |
||||
end |
||||
end |
||||
Loading…
Reference in new issue