diff --git a/config/forms/2021_2022.json b/config/forms/2021_2022.json index 498e064b2..be1d6d38a 100644 --- a/config/forms/2021_2022.json +++ b/config/forms/2021_2022.json @@ -990,9 +990,7 @@ "illness_type_6": "Memory", "illness_type_7": "Mental health - such as depression, anxiety, schizophrenia or bipolar", "illness_type_9": "Socially or behaviourally - such as those associated with autism spectral disorder (ASD) including Aspergers’ or attention deficit hyperactivity disorder (ADHD))", - "illness_type_10": "Other", - "divider": true, - "condition_effects_prefer_not_to_say": "Prefer not to say" + "illness_type_10": "Other" } } } diff --git a/db/migrate/20211108134601_remaining_core_migrations.rb b/db/migrate/20211108134601_remaining_core_migrations.rb new file mode 100644 index 000000000..db0d65850 --- /dev/null +++ b/db/migrate/20211108134601_remaining_core_migrations.rb @@ -0,0 +1,13 @@ +class RemainingCoreMigrations < ActiveRecord::Migration[6.1] + def up + change_table :case_logs, bulk: true do |_t| + remove_column :case_logs, :condition_effects_prefer_not_to_say + end + end + + def down + change_table :case_logs, bulk: true do |_t| + add_column :case_logs, :condition_effects_prefer_not_to_say, :integer + end + end +end diff --git a/db/schema.rb b/db/schema.rb index 005086022..1538382c8 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -10,7 +10,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema.define(version: 2021_11_08_091320) do +ActiveRecord::Schema.define(version: 2021_11_08_134601) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" @@ -125,7 +125,6 @@ ActiveRecord::Schema.define(version: 2021_11_08_091320) do t.integer "illness_type_7" t.integer "illness_type_9" t.integer "illness_type_10" - t.integer "condition_effects_prefer_not_to_say" t.integer "rp_homeless" t.integer "rp_insan_unsat" t.integer "rp_medwel"