Browse Source

update missing mappings

pull/163/head
Kat 4 years ago
parent
commit
1fe14b7dad
  1. 1
      app/models/case_log.rb
  2. 2
      app/models/constants/case_log.rb

1
app/models/case_log.rb

@ -68,6 +68,7 @@ class CaseLog < ApplicationRecord
enum housingneeds_f: POLAR, _suffix: true
enum housingneeds_g: POLAR, _suffix: true
enum housingneeds_h: POLAR, _suffix: true
enum accessibility_requirements_prefer_not_to_say: POLAR, _suffix: true
enum illness_type_1: POLAR, _suffix: true
enum illness_type_2: POLAR, _suffix: true
enum illness_type_3: POLAR, _suffix: true

2
app/models/constants/case_log.rb

@ -65,7 +65,7 @@ module Constants::CaseLog
ILLNESS = {
"Yes" => 1,
"No" => 2,
"Do not know" => 3,
"Prefer not to say" => 3,
}.freeze
LEFTREG = {

Loading…
Cancel
Save