diff --git a/db/migrate/20211119104835_add_property_info_fields.rb b/db/migrate/20211119104835_add_property_info_fields.rb index 1cab3c7e1..e50eaba38 100644 --- a/db/migrate/20211119104835_add_property_info_fields.rb +++ b/db/migrate/20211119104835_add_property_info_fields.rb @@ -1,8 +1,6 @@ class AddPropertyInfoFields < ActiveRecord::Migration[6.1] def change change_table :case_logs, bulk: true do |t| - 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 :type_property_most_recently_let_as, :string diff --git a/db/schema.rb b/db/schema.rb index ecf56dd31..0221a6b6f 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -154,8 +154,6 @@ ActiveRecord::Schema.define(version: 2021_11_19_104835) do t.integer "incref" t.datetime "sale_completion_date" t.datetime "startdate" - t.integer "do_you_know_the_postcode" - t.integer "do_you_know_the_local_authority" t.integer "first_time_property_let_as_social_housing" t.string "why_dont_you_know_la" t.string "type_property_most_recently_let_as" diff --git a/spec/fixtures/complete_case_log.json b/spec/fixtures/complete_case_log.json index 2345097dc..36d34c9fc 100644 --- a/spec/fixtures/complete_case_log.json +++ b/spec/fixtures/complete_case_log.json @@ -141,7 +141,7 @@ "why_dont_you_know_la": "Forgot", "first_time_property_let_as_social_housing": "Yes", "type_property_most_recently_let_as": "Affordable rent basis", - "property_number_of_times_relet_social_let": "1", + "property_number_of_times_relet_social_let": 1, "builtype": "Purpose built", "property_wheelchair_accessible": "Yes", "void_or_renewal_date": "05/05/2020",