|
10 | 10 | #
|
11 | 11 | # It's strongly recommended that you check this file into your version control system.
|
12 | 12 |
|
13 |
| -ActiveRecord::Schema[8.0].define(version: 2025_04_29_140846) do |
| 13 | +ActiveRecord::Schema[8.0].define(version: 2025_05_05_193919) do |
14 | 14 | # These are extensions that must be enabled in order to support this database
|
15 | 15 | enable_extension "pg_catalog.plpgsql"
|
16 | 16 | enable_extension "pg_trgm"
|
|
631 | 631 | create_table "pre_screenings", force: :cascade do |t|
|
632 | 632 | t.bigint "patient_session_id", null: false
|
633 | 633 | t.bigint "performed_by_user_id", null: false
|
634 |
| - t.boolean "knows_vaccination", null: false |
635 |
| - t.boolean "not_already_had", null: false |
636 |
| - t.boolean "feeling_well", null: false |
637 |
| - t.boolean "no_allergies", null: false |
638 | 634 | t.text "notes", default: "", null: false
|
639 | 635 | t.datetime "created_at", null: false
|
640 | 636 | t.datetime "updated_at", null: false
|
641 | 637 | t.bigint "programme_id", null: false
|
642 |
| - t.boolean "not_taking_medication", null: false |
643 |
| - t.boolean "not_pregnant", null: false |
644 |
| - t.bigint "session_date_id", null: false |
645 | 638 | t.index ["patient_session_id"], name: "index_pre_screenings_on_patient_session_id"
|
646 | 639 | t.index ["performed_by_user_id"], name: "index_pre_screenings_on_performed_by_user_id"
|
647 | 640 | t.index ["programme_id"], name: "index_pre_screenings_on_programme_id"
|
648 |
| - t.index ["session_date_id"], name: "index_pre_screenings_on_session_date_id" |
649 | 641 | end
|
650 | 642 |
|
651 | 643 | create_table "programmes", force: :cascade do |t|
|
|
910 | 902 | add_foreign_key "patients", "organisations"
|
911 | 903 | add_foreign_key "pre_screenings", "patient_sessions"
|
912 | 904 | add_foreign_key "pre_screenings", "programmes"
|
913 |
| - add_foreign_key "pre_screenings", "session_dates" |
914 | 905 | add_foreign_key "pre_screenings", "users", column: "performed_by_user_id"
|
915 | 906 | add_foreign_key "school_move_log_entries", "locations", column: "school_id"
|
916 | 907 | add_foreign_key "school_move_log_entries", "patients"
|
|
0 commit comments