Browse Source

Remove branch migrations

CLDC-1468-add-postcode-to-sales-property-info-journey
Mo Seedat 2 years ago
parent
commit
e572e0f63a
  1. 32
      db/schema.rb

32
db/schema.rb

@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema[7.0].define(version: 2022_10_18_221143) do
ActiveRecord::Schema[7.0].define(version: 2022_10_19_082625) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@ -42,17 +42,6 @@ ActiveRecord::Schema[7.0].define(version: 2022_10_18_221143) do
t.index ["start_year", "lettype", "beds", "la"], name: "index_la_rent_ranges_on_start_year_and_lettype_and_beds_and_la", unique: true
end
create_table "la_sales_ranges", force: :cascade do |t|
t.string "la"
t.string "la_name"
t.integer "beds"
t.integer "soft_min", null: false
t.integer "soft_max", null: false
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.index ["beds", "la"], name: "index_la_sales_ranges_on_beds_and_la", unique: true
end
create_table "legacy_users", force: :cascade do |t|
t.string "old_user_id"
t.integer "user_id"
@ -256,14 +245,6 @@ ActiveRecord::Schema[7.0].define(version: 2022_10_18_221143) do
t.index ["scheme_id"], name: "index_lettings_logs_on_scheme_id"
end
create_table "local_authorities", force: :cascade do |t|
t.string "ons_code", null: false
t.string "name", null: false
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.index ["ons_code", "name"], name: "index_local_authorities_on_ons_code_and_name", unique: true
end
create_table "locations", force: :cascade do |t|
t.string "location_code"
t.string "postcode"
@ -357,10 +338,12 @@ ActiveRecord::Schema[7.0].define(version: 2022_10_18_221143) do
t.integer "age1"
t.integer "age1_known"
t.string "sex1"
t.integer "buy1livein"
t.integer "buylivein"
t.integer "national"
t.string "othernational"
t.integer "ethnic"
t.integer "ethnic_group"
t.integer "buy1livein"
t.integer "buylivein"
t.integer "builtype"
t.integer "proptype"
t.integer "age2"
@ -370,8 +353,6 @@ ActiveRecord::Schema[7.0].define(version: 2022_10_18_221143) do
t.integer "noint"
t.integer "buy2livein"
t.integer "ecstat2"
t.integer "national"
t.string "othernational"
t.integer "privacynotice"
t.integer "ecstat1"
t.integer "wheel"
@ -379,7 +360,7 @@ ActiveRecord::Schema[7.0].define(version: 2022_10_18_221143) do
t.integer "age3"
t.integer "age3_known"
t.string "la"
t.integer "purchase_price"
t.integer "la_known"
t.integer "income1"
t.integer "income1nk"
t.integer "age4"
@ -393,7 +374,6 @@ ActiveRecord::Schema[7.0].define(version: 2022_10_18_221143) do
t.string "pcode2"
t.boolean "pcodenk", default: true
t.integer "postcode_known"
t.integer "la_known"
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 ["owning_organisation_id"], name: "index_sales_logs_on_owning_organisation_id"

Loading…
Cancel
Save