|
10 | 10 | # |
11 | 11 | # It's strongly recommended that you check this file into your version control system. |
12 | 12 |
|
13 | | -ActiveRecord::Schema[8.1].define(version: 2026_04_20_101139) do |
| 13 | +ActiveRecord::Schema[8.1].define(version: 2026_04_20_122440) 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" |
|
1152 | 1152 | add_foreign_key "notes", "users", column: "created_by_user_id" |
1153 | 1153 | add_foreign_key "notify_log_entries", "consent_forms" |
1154 | 1154 | add_foreign_key "notify_log_entries", "parents", on_delete: :nullify |
1155 | | - add_foreign_key "notify_log_entries", "patients", on_delete: :cascade, validate: false |
| 1155 | + add_foreign_key "notify_log_entries", "patients", on_delete: :cascade |
1156 | 1156 | add_foreign_key "notify_log_entries", "users", column: "sent_by_user_id" |
1157 | 1157 | add_foreign_key "notify_log_entry_programmes", "notify_log_entries", on_delete: :cascade |
1158 | 1158 | add_foreign_key "parent_relationships", "parents" |
|
1161 | 1161 | add_foreign_key "patient_changesets", "patients" |
1162 | 1162 | add_foreign_key "patient_locations", "locations" |
1163 | 1163 | add_foreign_key "patient_locations", "patients" |
1164 | | - add_foreign_key "patient_merge_log_entries", "patients", on_delete: :cascade, validate: false |
| 1164 | + add_foreign_key "patient_merge_log_entries", "patients", on_delete: :cascade |
1165 | 1165 | add_foreign_key "patient_merge_log_entries", "users" |
1166 | 1166 | add_foreign_key "patient_programme_statuses", "patients", on_delete: :cascade |
1167 | | - add_foreign_key "patient_programme_vaccinations_searches", "patients", on_delete: :cascade, validate: false |
| 1167 | + add_foreign_key "patient_programme_vaccinations_searches", "patients", on_delete: :cascade |
1168 | 1168 | add_foreign_key "patient_registration_statuses", "patients", on_delete: :cascade |
1169 | 1169 | add_foreign_key "patient_registration_statuses", "sessions", on_delete: :cascade |
1170 | 1170 | add_foreign_key "patient_specific_directions", "patients" |
|
1175 | 1175 | add_foreign_key "patient_teams", "teams", on_delete: :cascade |
1176 | 1176 | add_foreign_key "patients", "locations", column: "gp_practice_id" |
1177 | 1177 | add_foreign_key "patients", "locations", column: "school_id" |
1178 | | - add_foreign_key "pds_search_results", "patients", on_delete: :cascade, validate: false |
| 1178 | + add_foreign_key "pds_search_results", "patients", on_delete: :cascade |
1179 | 1179 | add_foreign_key "pre_screenings", "locations" |
1180 | 1180 | add_foreign_key "pre_screenings", "patients" |
1181 | 1181 | add_foreign_key "pre_screenings", "users", column: "performed_by_user_id" |
1182 | 1182 | add_foreign_key "reporting_api_one_time_tokens", "users" |
1183 | 1183 | add_foreign_key "school_move_log_entries", "locations", column: "school_id" |
1184 | | - add_foreign_key "school_move_log_entries", "patients", on_delete: :cascade, validate: false |
| 1184 | + add_foreign_key "school_move_log_entries", "patients", on_delete: :cascade |
1185 | 1185 | add_foreign_key "school_move_log_entries", "teams" |
1186 | 1186 | add_foreign_key "school_move_log_entries", "users" |
1187 | 1187 | add_foreign_key "school_moves", "locations", column: "school_id" |
|
0 commit comments