|
10 | 10 | # |
11 | 11 | # It's strongly recommended that you check this file into your version control system. |
12 | 12 |
|
13 | | -ActiveRecord::Schema.define(version: 2020_04_23_182618) do |
| 13 | +ActiveRecord::Schema.define(version: 2020_04_29_185626) do |
14 | 14 |
|
15 | 15 | # These are extensions that must be enabled in order to support this database |
16 | 16 | enable_extension "plpgsql" |
|
88 | 88 | t.index ["event_group_id"], name: "index_event_groups_applications_on_event_group_id" |
89 | 89 | end |
90 | 90 |
|
91 | | - create_table "event_groups_coaches", force: :cascade do |t| |
| 91 | + create_table "event_groups_coach_applications", force: :cascade do |t| |
92 | 92 | t.bigint "coach_application_id" |
93 | 93 | t.bigint "event_group_id" |
94 | 94 | t.datetime "created_at", null: false |
95 | 95 | t.datetime "updated_at", null: false |
96 | | - t.index ["coach_application_id"], name: "index_event_groups_coaches_on_coach_application_id" |
97 | | - t.index ["event_group_id"], name: "index_event_groups_coaches_on_event_group_id" |
| 96 | + t.index ["coach_application_id"], name: "index_event_groups_coach_applications_on_coach_application_id" |
| 97 | + t.index ["event_group_id"], name: "index_event_groups_coach_applications_on_event_group_id" |
98 | 98 | end |
99 | 99 |
|
100 | 100 | create_table "events", id: :serial, force: :cascade do |t| |
|
152 | 152 | add_foreign_key "event_groups", "events" |
153 | 153 | add_foreign_key "event_groups_applications", "applications" |
154 | 154 | add_foreign_key "event_groups_applications", "event_groups" |
155 | | - add_foreign_key "event_groups_coaches", "coach_applications" |
156 | | - add_foreign_key "event_groups_coaches", "event_groups" |
| 155 | + add_foreign_key "event_groups_coach_applications", "coach_applications" |
| 156 | + add_foreign_key "event_groups_coach_applications", "event_groups" |
157 | 157 | end |
0 commit comments