|
|
@ -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_11_10_111447) do |
|
|
|
ActiveRecord::Schema[7.0].define(version: 2022_11_10_163351) 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" |
|
|
|
|
|
|
|
|
|
|
@ -359,12 +359,6 @@ ActiveRecord::Schema[7.0].define(version: 2022_11_10_111447) do |
|
|
|
t.integer "hholdcount" |
|
|
|
t.integer "hholdcount" |
|
|
|
t.integer "age3" |
|
|
|
t.integer "age3" |
|
|
|
t.integer "age3_known" |
|
|
|
t.integer "age3_known" |
|
|
|
t.integer "age4" |
|
|
|
|
|
|
|
t.integer "age4_known" |
|
|
|
|
|
|
|
t.integer "age5" |
|
|
|
|
|
|
|
t.integer "age5_known" |
|
|
|
|
|
|
|
t.integer "age6" |
|
|
|
|
|
|
|
t.integer "age6_known" |
|
|
|
|
|
|
|
t.string "la" |
|
|
|
t.string "la" |
|
|
|
t.integer "la_known" |
|
|
|
t.integer "la_known" |
|
|
|
t.integer "income1" |
|
|
|
t.integer "income1" |
|
|
@ -372,6 +366,12 @@ ActiveRecord::Schema[7.0].define(version: 2022_11_10_111447) do |
|
|
|
t.integer "details_known_2" |
|
|
|
t.integer "details_known_2" |
|
|
|
t.integer "details_known_3" |
|
|
|
t.integer "details_known_3" |
|
|
|
t.integer "details_known_4" |
|
|
|
t.integer "details_known_4" |
|
|
|
|
|
|
|
t.integer "age4" |
|
|
|
|
|
|
|
t.integer "age4_known" |
|
|
|
|
|
|
|
t.integer "age5" |
|
|
|
|
|
|
|
t.integer "age5_known" |
|
|
|
|
|
|
|
t.integer "age6" |
|
|
|
|
|
|
|
t.integer "age6_known" |
|
|
|
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" |
|
|
@ -398,7 +398,6 @@ ActiveRecord::Schema[7.0].define(version: 2022_11_10_111447) do |
|
|
|
t.integer "total_units" |
|
|
|
t.integer "total_units" |
|
|
|
t.boolean "confirmed" |
|
|
|
t.boolean "confirmed" |
|
|
|
t.datetime "deactivation_date" |
|
|
|
t.datetime "deactivation_date" |
|
|
|
t.integer "deactivation_date_type" |
|
|
|
|
|
|
|
t.index ["managing_organisation_id"], name: "index_schemes_on_managing_organisation_id" |
|
|
|
t.index ["managing_organisation_id"], name: "index_schemes_on_managing_organisation_id" |
|
|
|
t.index ["owning_organisation_id"], name: "index_schemes_on_owning_organisation_id" |
|
|
|
t.index ["owning_organisation_id"], name: "index_schemes_on_owning_organisation_id" |
|
|
|
end |
|
|
|
end |
|
|
|