diff --git a/db/migrate/20211027123535_add_other_tenancy_type_field.rb b/db/migrate/20211027123535_add_other_tenancy_type_field.rb new file mode 100644 index 000000000..38b8106c6 --- /dev/null +++ b/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 diff --git a/docs/api/DLUHC-CORE-Data.v1.json b/docs/api/DLUHC-CORE-Data.v1.json index e95b730ca..7a4d495e2 100644 --- a/docs/api/DLUHC-CORE-Data.v1.json +++ b/docs/api/DLUHC-CORE-Data.v1.json @@ -1089,6 +1089,10 @@ }, "reasonable_preference_reason_do_not_know": { "type": "boolean" + }, + "other_tenancy-type": { + "type": "string", + "example": "private tenancy" } }, "required": [ @@ -1203,7 +1207,8 @@ "reasonable_preference_reason_unsatisfactory_housing", "reasonable_preference_reason_medical_grounds", "reasonable_preference_reason_avoid_hardship", - "reasonable_preference_reason_do_not_know" + "reasonable_preference_reason_do_not_know", + "other_tenancy-type" ] } },