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.
17 lines
418 B
17 lines
418 B
class ChangeArmedForces < ActiveRecord::Migration[6.1] |
|
def up |
|
change_table :case_logs, bulk: true do |t| |
|
t.remove :armed_forces |
|
t.remove :armed_forces_partner |
|
t.column :armedforces, :integer |
|
end |
|
end |
|
|
|
def down |
|
change_table :case_logs, bulk: true do |t| |
|
t.remove :armedforces |
|
t.column :armed_forces, :string |
|
t.column :armed_forces_partner, :string |
|
end |
|
end |
|
end
|
|
|