You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
434 B
18 lines
434 B
2 years ago
|
class UpdateDetailsKnownNumbers < ActiveRecord::Migration[7.0]
|
||
|
def up
|
||
|
change_table :sales_logs, bulk: true do |t|
|
||
|
t.remove :details_known_1
|
||
|
t.column :details_known_5, :integer
|
||
|
t.column :details_known_6, :integer
|
||
|
end
|
||
|
end
|
||
|
|
||
|
def down
|
||
|
change_table :sales_logs, bulk: true do |t|
|
||
|
t.column :details_known_1, :integer
|
||
|
t.remove :details_known_5
|
||
|
t.remove :details_known_6
|
||
|
end
|
||
|
end
|
||
|
end
|