Browse Source

Add missing migration file and update API doc

pull/68/head
Kat 4 years ago
parent
commit
0c1a3ea04b
  1. 7
      db/migrate/20211027123535_add_other_tenancy_type_field.rb
  2. 7
      docs/api/DLUHC-CORE-Data.v1.json

7
db/migrate/20211027123535_add_other_tenancy_type_field.rb

@ -0,0 +1,7 @@
class AddOtherTenancyTypeField < ActiveRecord::Migration[6.1]
def change
change_table :case_logs, bulk: true do |t|
t.column :other_tenancy_type, :string
end
end
end

7
docs/api/DLUHC-CORE-Data.v1.json

@ -1089,6 +1089,10 @@
}, },
"reasonable_preference_reason_do_not_know": { "reasonable_preference_reason_do_not_know": {
"type": "boolean" "type": "boolean"
},
"other_tenancy-type": {
"type": "string",
"example": "private tenancy"
} }
}, },
"required": [ "required": [
@ -1203,7 +1207,8 @@
"reasonable_preference_reason_unsatisfactory_housing", "reasonable_preference_reason_unsatisfactory_housing",
"reasonable_preference_reason_medical_grounds", "reasonable_preference_reason_medical_grounds",
"reasonable_preference_reason_avoid_hardship", "reasonable_preference_reason_avoid_hardship",
"reasonable_preference_reason_do_not_know" "reasonable_preference_reason_do_not_know",
"other_tenancy-type"
] ]
} }
}, },

Loading…
Cancel
Save