|
|
|
@ -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.2].define(version: 2026_02_25_162121) do |
|
|
|
ActiveRecord::Schema[7.2].define(version: 2026_03_05_095832) 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" |
|
|
|
|
|
|
|
|
|
|
|
@ -84,7 +84,7 @@ ActiveRecord::Schema[7.2].define(version: 2026_02_25_162121) do |
|
|
|
t.datetime "last_accessed" |
|
|
|
t.datetime "last_accessed" |
|
|
|
t.datetime "created_at", null: false |
|
|
|
t.datetime "created_at", null: false |
|
|
|
t.datetime "updated_at", null: false |
|
|
|
t.datetime "updated_at", null: false |
|
|
|
t.check_constraint "log_type::text = ANY (ARRAY['lettings'::character varying, 'sales'::character varying]::text[])", name: "log_type_check" |
|
|
|
t.check_constraint "log_type::text = ANY (ARRAY['lettings'::character varying::text, 'sales'::character varying::text])", name: "log_type_check" |
|
|
|
t.check_constraint "year >= 2000 AND year <= 2099", name: "year_check" |
|
|
|
t.check_constraint "year >= 2000 AND year <= 2099", name: "year_check" |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
@ -824,8 +824,20 @@ ActiveRecord::Schema[7.2].define(version: 2026_02_25_162121) do |
|
|
|
t.string "sexrab4" |
|
|
|
t.string "sexrab4" |
|
|
|
t.string "sexrab5" |
|
|
|
t.string "sexrab5" |
|
|
|
t.string "sexrab6" |
|
|
|
t.string "sexrab6" |
|
|
|
t.integer "mortlen_known" |
|
|
|
|
|
|
|
t.integer "buildheightclass" |
|
|
|
t.integer "buildheightclass" |
|
|
|
|
|
|
|
t.integer "gender_same_as_sex1" |
|
|
|
|
|
|
|
t.integer "gender_same_as_sex2" |
|
|
|
|
|
|
|
t.integer "gender_same_as_sex3" |
|
|
|
|
|
|
|
t.integer "gender_same_as_sex4" |
|
|
|
|
|
|
|
t.integer "gender_same_as_sex5" |
|
|
|
|
|
|
|
t.integer "gender_same_as_sex6" |
|
|
|
|
|
|
|
t.string "gender_description1" |
|
|
|
|
|
|
|
t.string "gender_description2" |
|
|
|
|
|
|
|
t.string "gender_description3" |
|
|
|
|
|
|
|
t.string "gender_description4" |
|
|
|
|
|
|
|
t.string "gender_description5" |
|
|
|
|
|
|
|
t.string "gender_description6" |
|
|
|
|
|
|
|
t.integer "mortlen_known" |
|
|
|
t.integer "hasservicechargeschanged" |
|
|
|
t.integer "hasservicechargeschanged" |
|
|
|
t.decimal "newservicecharges", precision: 10, scale: 2 |
|
|
|
t.decimal "newservicecharges", precision: 10, scale: 2 |
|
|
|
t.index ["assigned_to_id"], name: "index_sales_logs_on_assigned_to_id" |
|
|
|
t.index ["assigned_to_id"], name: "index_sales_logs_on_assigned_to_id" |
|
|
|
|