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.
14 lines
412 B
14 lines
412 B
2 years ago
|
class AddExportFields < ActiveRecord::Migration[7.0]
|
||
|
def change
|
||
|
change_table :case_logs, bulk: true do |t|
|
||
|
t.column :hhtype, :integer
|
||
|
t.column :new_old, :integer
|
||
|
t.column :vacdays, :integer
|
||
|
t.rename :tenant_code, :tenancycode
|
||
|
t.rename :previous_postcode_known, :ppcodenk
|
||
|
t.rename :shelteredaccom, :sheltered
|
||
|
t.remove :tenancy_code, type: :string
|
||
|
end
|
||
|
end
|
||
|
end
|