|
|
|
@ -1,10 +1,10 @@
|
|
|
|
|
class AddPropertyInfoFields < ActiveRecord::Migration[6.1] |
|
|
|
|
def change |
|
|
|
|
change_table :case_logs, bulk: true do |t| |
|
|
|
|
t.column :do_you_know_the_postcode, :string |
|
|
|
|
t.column :do_you_know_the_local_authority, :string |
|
|
|
|
t.column :do_you_know_the_postcode, :int |
|
|
|
|
t.column :do_you_know_the_local_authority, :int |
|
|
|
|
t.column :first_time_property_let_as_social_housing, :int |
|
|
|
|
t.column :why_dont_you_know_la, :string |
|
|
|
|
t.column :first_time_property_let_as_social_housing, :string |
|
|
|
|
t.column :type_property_most_recently_let_as, :string |
|
|
|
|
t.column :builtype, :string |
|
|
|
|
t.rename :tenant_same_property_renewal, :renewal |
|
|
|
|