|
|
|
@ -10,7 +10,7 @@ |
|
|
|
# |
|
|
|
# |
|
|
|
# It's strongly recommended that you check this file into your version control system. |
|
|
|
# It's strongly recommended that you check this file into your version control system. |
|
|
|
|
|
|
|
|
|
|
|
ActiveRecord::Schema[7.0].define(version: 2022_10_04_184301) do |
|
|
|
ActiveRecord::Schema[7.0].define(version: 2022_10_05_125543) do |
|
|
|
# These are extensions that must be enabled in order to support this database |
|
|
|
# These are extensions that must be enabled in order to support this database |
|
|
|
enable_extension "plpgsql" |
|
|
|
enable_extension "plpgsql" |
|
|
|
|
|
|
|
|
|
|
|
@ -333,10 +333,12 @@ ActiveRecord::Schema[7.0].define(version: 2022_10_04_184301) do |
|
|
|
t.integer "jointmore" |
|
|
|
t.integer "jointmore" |
|
|
|
t.integer "jointpur" |
|
|
|
t.integer "jointpur" |
|
|
|
t.integer "beds" |
|
|
|
t.integer "beds" |
|
|
|
|
|
|
|
t.integer "companybuy" |
|
|
|
t.integer "age1" |
|
|
|
t.integer "age1" |
|
|
|
t.integer "age1_known" |
|
|
|
t.integer "age1_known" |
|
|
|
t.integer "companybuy" |
|
|
|
|
|
|
|
t.string "sex1" |
|
|
|
t.string "sex1" |
|
|
|
|
|
|
|
t.integer "national" |
|
|
|
|
|
|
|
t.string "othernational" |
|
|
|
t.integer "ethnic" |
|
|
|
t.integer "ethnic" |
|
|
|
t.integer "ethnic_group" |
|
|
|
t.integer "ethnic_group" |
|
|
|
t.integer "buy1livein" |
|
|
|
t.integer "buy1livein" |
|
|
|
@ -351,10 +353,9 @@ ActiveRecord::Schema[7.0].define(version: 2022_10_04_184301) do |
|
|
|
t.integer "noint" |
|
|
|
t.integer "noint" |
|
|
|
t.integer "buy2livein" |
|
|
|
t.integer "buy2livein" |
|
|
|
t.integer "ecstat2" |
|
|
|
t.integer "ecstat2" |
|
|
|
t.integer "ecstat1" |
|
|
|
|
|
|
|
t.integer "national" |
|
|
|
|
|
|
|
t.string "othernational" |
|
|
|
|
|
|
|
t.integer "privacynotice" |
|
|
|
t.integer "privacynotice" |
|
|
|
|
|
|
|
t.integer "hholdcount" |
|
|
|
|
|
|
|
t.integer "ecstat1" |
|
|
|
t.index ["created_by_id"], name: "index_sales_logs_on_created_by_id" |
|
|
|
t.index ["created_by_id"], name: "index_sales_logs_on_created_by_id" |
|
|
|
t.index ["managing_organisation_id"], name: "index_sales_logs_on_managing_organisation_id" |
|
|
|
t.index ["managing_organisation_id"], name: "index_sales_logs_on_managing_organisation_id" |
|
|
|
t.index ["owning_organisation_id"], name: "index_sales_logs_on_owning_organisation_id" |
|
|
|
t.index ["owning_organisation_id"], name: "index_sales_logs_on_owning_organisation_id" |
|
|
|
|