|
1099 | 1099 |
|
1100 | 1100 | create_table "registration_competition_events", charset: "utf8mb4", collation: "utf8mb4_unicode_ci", force: :cascade do |t| |
1101 | 1101 | t.bigint "competition_event_id" |
1102 | | - t.integer "registration_id" |
| 1102 | + t.bigint "registration_id" |
1103 | 1103 | t.index ["competition_event_id"], name: "index_registration_competition_events_on_competition_event_id" |
1104 | 1104 | t.index ["registration_id", "competition_event_id"], name: "idx_registration_competition_events_on_reg_id_and_comp_event_id", unique: true |
1105 | 1105 | t.index ["registration_id"], name: "index_registration_competition_events_on_registration_id" |
|
1133 | 1133 | t.bigint "receipt_id" |
1134 | 1134 | t.string "receipt_type" |
1135 | 1135 | t.integer "refunded_registration_payment_id" |
1136 | | - t.integer "registration_id" |
| 1136 | + t.bigint "registration_id" |
1137 | 1137 | t.string "stripe_charge_id" |
1138 | 1138 | t.datetime "updated_at", precision: nil, null: false |
1139 | 1139 | t.integer "user_id" |
|
1143 | 1143 | t.index ["stripe_charge_id"], name: "index_registration_payments_on_stripe_charge_id" |
1144 | 1144 | end |
1145 | 1145 |
|
1146 | | - create_table "registrations", id: { type: :integer, unsigned: true }, charset: "utf8mb4", collation: "utf8mb4_unicode_ci", force: :cascade do |t| |
| 1146 | + create_table "registrations", charset: "utf8mb4", collation: "utf8mb4_unicode_ci", force: :cascade do |t| |
1147 | 1147 | t.datetime "accepted_at", precision: nil |
1148 | 1148 | t.integer "accepted_by" |
1149 | 1149 | t.text "administrative_notes" |
|
1675 | 1675 | add_foreign_key "potential_duplicate_persons", "users", column: "original_user_id" |
1676 | 1676 | add_foreign_key "regional_records_lookup", "results", on_update: :cascade, on_delete: :cascade |
1677 | 1677 | add_foreign_key "registration_competition_events", "competition_events", on_delete: :cascade |
| 1678 | + add_foreign_key "registration_competition_events", "registrations", on_delete: :cascade |
1678 | 1679 | add_foreign_key "registration_history_changes", "registration_history_entries" |
1679 | 1680 | add_foreign_key "result_attempts", "results", on_delete: :cascade |
1680 | 1681 | add_foreign_key "results", "rounds" |
|
0 commit comments