Browse Source

CLDC-1050: re-add ethnic question

CLDC-1050: revert schema change
pull/386/head
kiddhustle 3 years ago
parent
commit
94ed1c6aae
  1. 20
      config/forms/2021_2022.json
  2. 1
      db/schema.rb

20
config/forms/2021_2022.json

@ -1284,7 +1284,7 @@
}, },
"conditional_for": { "conditional_for": {
"ethnic_other": [ "ethnic_other": [
"Other ethnic group" 1
] ]
} }
}, },
@ -1296,7 +1296,7 @@
}, },
"depends_on": [ "depends_on": [
{ {
"ethnic_group": "Other ethnic group" "ethnic_group": 4
} }
] ]
}, },
@ -1328,7 +1328,7 @@
}, },
"conditional_for": { "conditional_for": {
"ethnic_other": [ "ethnic_other": [
"Other ethnic group" 4
] ]
} }
}, },
@ -1340,7 +1340,7 @@
}, },
"depends_on": [ "depends_on": [
{ {
"ethnic_group": "Asian or Asian British" "ethnic_group": 2
} }
] ]
}, },
@ -1366,7 +1366,7 @@
}, },
"conditional_for": { "conditional_for": {
"ethnic_other": [ "ethnic_other": [
"Any other Black, African or Caribbean background" 2
] ]
} }
}, },
@ -1378,7 +1378,7 @@
}, },
"depends_on": [ "depends_on": [
{ {
"ethnic_group": "Black, African, Caribbean or Black British" "ethnic_group": 3
} }
] ]
}, },
@ -1404,7 +1404,7 @@
}, },
"conditional_for": { "conditional_for": {
"tenant_ethnic_group_mixed_other": [ "tenant_ethnic_group_mixed_other": [
"Any other Mixed or Multiple ethnic background" 2
] ]
} }
}, },
@ -1416,7 +1416,7 @@
}, },
"depends_on": [ "depends_on": [
{ {
"ethnic_group": "Mixed or Multiple ethnic groups" "ethnic_group": 1
} }
] ]
}, },
@ -1445,7 +1445,7 @@
}, },
"conditional_for": { "conditional_for": {
"tenant_ethnic_group_white_other": [ "tenant_ethnic_group_white_other": [
"Any other White background" 3
] ]
} }
}, },
@ -1457,7 +1457,7 @@
}, },
"depends_on": [ "depends_on": [
{ {
"ethnic": "White" "ethnic": 0
} }
] ]
}, },

1
db/schema.rb

@ -284,7 +284,6 @@ ActiveRecord::Schema[7.0].define(version: 202202071123100) do
t.integer "failed_attempts", default: 0 t.integer "failed_attempts", default: 0
t.string "unlock_token" t.string "unlock_token"
t.datetime "locked_at", precision: nil t.datetime "locked_at", precision: nil
t.string "phone"
t.index ["email"], name: "index_users_on_email", unique: true t.index ["email"], name: "index_users_on_email", unique: true
t.index ["organisation_id"], name: "index_users_on_organisation_id" t.index ["organisation_id"], name: "index_users_on_organisation_id"
t.index ["reset_password_token"], name: "index_users_on_reset_password_token", unique: true t.index ["reset_password_token"], name: "index_users_on_reset_password_token", unique: true

Loading…
Cancel
Save