|
2 | 2 | # of editing this file, please use the migrations feature of Active Record to
|
3 | 3 | # incrementally modify your database, and then regenerate this schema definition.
|
4 | 4 | #
|
5 |
| -# Note that this schema.rb definition is the authoritative source for your |
6 |
| -# database schema. If you need to create the application database on another |
7 |
| -# system, you should be using db:schema:load, not running all the migrations |
8 |
| -# from scratch. The latter is a flawed and unsustainable approach (the more migrations |
9 |
| -# you'll amass, the slower it'll run and the greater likelihood for issues). |
| 5 | +# This file is the source Rails uses to define your schema when running `bin/rails |
| 6 | +# db:schema:load`. When creating a new database, `bin/rails db:schema:load` tends to |
| 7 | +# be faster and is potentially less error prone than running all of your |
| 8 | +# migrations from scratch. Old migrations may fail to apply correctly if those |
| 9 | +# migrations use external dependencies or application code. |
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: 2025_02_09_180413) do |
| 13 | +ActiveRecord::Schema[7.1].define(version: 2025_03_09_183552) do |
| 14 | + create_schema "heroku_ext" |
14 | 15 |
|
15 | 16 | # These are extensions that must be enabled in order to support this database
|
16 | 17 | enable_extension "pg_stat_statements"
|
|
19 | 20 | create_table "attendances", id: :serial, force: :cascade do |t|
|
20 | 21 | t.integer "session_id", null: false
|
21 | 22 | t.integer "participant_id", null: false
|
22 |
| - t.datetime "created_at", null: false |
23 |
| - t.datetime "updated_at", null: false |
| 23 | + t.datetime "created_at", precision: nil, null: false |
| 24 | + t.datetime "updated_at", precision: nil, null: false |
24 | 25 | t.index ["session_id", "participant_id"], name: "index_attendances_on_session_id_and_participant_id", unique: true
|
25 | 26 | end
|
26 | 27 |
|
|
32 | 33 | create_table "categorizations", id: :serial, force: :cascade do |t|
|
33 | 34 | t.integer "category_id", null: false
|
34 | 35 | t.integer "session_id", null: false
|
35 |
| - t.datetime "created_at", null: false |
36 |
| - t.datetime "updated_at", null: false |
| 36 | + t.datetime "created_at", precision: nil, null: false |
| 37 | + t.datetime "updated_at", precision: nil, null: false |
37 | 38 | t.index ["category_id", "session_id"], name: "index_categorizations_on_category_id_and_session_id", unique: true
|
38 | 39 | end
|
39 | 40 |
|
40 | 41 | create_table "code_of_conduct_agreements", force: :cascade do |t|
|
41 | 42 | t.bigint "participant_id", null: false
|
42 | 43 | t.bigint "event_id", null: false
|
43 |
| - t.datetime "created_at", null: false |
44 |
| - t.datetime "updated_at", null: false |
| 44 | + t.datetime "created_at", precision: nil, null: false |
| 45 | + t.datetime "updated_at", precision: nil, null: false |
45 | 46 | t.index ["event_id"], name: "index_code_of_conduct_agreements_on_event_id"
|
46 | 47 | t.index ["participant_id"], name: "index_code_of_conduct_agreements_on_participant_id"
|
47 | 48 | end
|
48 | 49 |
|
49 | 50 | create_table "events", id: :serial, force: :cascade do |t|
|
50 | 51 | t.string "name", limit: 255, null: false
|
51 | 52 | t.date "date", null: false
|
52 |
| - t.datetime "created_at", null: false |
53 |
| - t.datetime "updated_at", null: false |
| 53 | + t.datetime "created_at", precision: nil, null: false |
| 54 | + t.datetime "updated_at", precision: nil, null: false |
54 | 55 | end
|
55 | 56 |
|
56 | 57 | create_table "levels", id: :serial, force: :cascade do |t|
|
|
61 | 62 | t.string "name", null: false
|
62 | 63 | t.string "slug", null: false
|
63 | 64 | t.string "markdown", null: false
|
64 |
| - t.datetime "created_at", null: false |
65 |
| - t.datetime "updated_at", null: false |
| 65 | + t.datetime "created_at", precision: nil, null: false |
| 66 | + t.datetime "updated_at", precision: nil, null: false |
66 | 67 | t.index ["slug"], name: "index_markdown_contents_on_slug", unique: true
|
67 | 68 | end
|
68 | 69 |
|
69 | 70 | create_table "participants", id: :serial, force: :cascade do |t|
|
70 | 71 | t.string "name", limit: 255
|
71 | 72 | t.string "email", limit: 255
|
72 | 73 | t.text "bio"
|
73 |
| - t.datetime "created_at", null: false |
74 |
| - t.datetime "updated_at", null: false |
| 74 | + t.datetime "created_at", precision: nil, null: false |
| 75 | + t.datetime "updated_at", precision: nil, null: false |
75 | 76 | t.string "crypted_password", limit: 255
|
76 | 77 | t.string "persistence_token", limit: 255
|
77 | 78 | t.string "perishable_token", limit: 255, default: "", null: false
|
78 |
| - t.string "github_profile_username" |
79 |
| - t.string "github_og_image" |
80 |
| - t.string "github_og_url" |
81 |
| - t.string "twitter_handle" |
82 |
| - t.datetime "email_confirmed_at" |
| 79 | + t.datetime "email_confirmed_at", precision: nil |
83 | 80 | t.index ["email"], name: "index_participants_on_email", unique: true
|
84 | 81 | t.index ["perishable_token"], name: "index_participants_on_perishable_token"
|
85 | 82 | end
|
86 | 83 |
|
87 | 84 | create_table "presentations", id: :serial, force: :cascade do |t|
|
88 | 85 | t.integer "session_id"
|
89 | 86 | t.integer "participant_id"
|
90 |
| - t.datetime "created_at", null: false |
91 |
| - t.datetime "updated_at", null: false |
| 87 | + t.datetime "created_at", precision: nil, null: false |
| 88 | + t.datetime "updated_at", precision: nil, null: false |
92 | 89 | end
|
93 | 90 |
|
94 | 91 | create_table "presenter_timeslot_restrictions", id: :serial, force: :cascade do |t|
|
95 | 92 | t.integer "participant_id"
|
96 | 93 | t.integer "timeslot_id"
|
97 | 94 | t.float "weight"
|
98 |
| - t.datetime "created_at", null: false |
99 |
| - t.datetime "updated_at", null: false |
| 95 | + t.datetime "created_at", precision: nil, null: false |
| 96 | + t.datetime "updated_at", precision: nil, null: false |
100 | 97 | t.index ["timeslot_id", "participant_id"], name: "present_timeslot_participant_unique", unique: true
|
101 | 98 | end
|
102 | 99 |
|
103 | 100 | create_table "rooms", id: :serial, force: :cascade do |t|
|
104 | 101 | t.integer "event_id", null: false
|
105 | 102 | t.string "name", limit: 255, null: false
|
106 | 103 | t.integer "capacity"
|
107 |
| - t.datetime "created_at", null: false |
108 |
| - t.datetime "updated_at", null: false |
| 104 | + t.datetime "created_at", precision: nil, null: false |
| 105 | + t.datetime "updated_at", precision: nil, null: false |
109 | 106 | t.boolean "schedulable", default: true
|
110 | 107 | end
|
111 | 108 |
|
|
115 | 112 | t.text "description", null: false
|
116 | 113 | t.boolean "panel", default: false, null: false
|
117 | 114 | t.boolean "projector", default: false, null: false
|
118 |
| - t.datetime "created_at", null: false |
119 |
| - t.datetime "updated_at", null: false |
| 115 | + t.datetime "created_at", precision: nil, null: false |
| 116 | + t.datetime "updated_at", precision: nil, null: false |
120 | 117 | t.integer "event_id"
|
121 | 118 | t.integer "timeslot_id"
|
122 | 119 | t.integer "room_id"
|
|
136 | 133 |
|
137 | 134 | create_table "timeslots", id: :serial, force: :cascade do |t|
|
138 | 135 | t.integer "event_id", null: false
|
139 |
| - t.datetime "created_at", null: false |
140 |
| - t.datetime "updated_at", null: false |
141 |
| - t.datetime "starts_at" |
142 |
| - t.datetime "ends_at" |
| 136 | + t.datetime "created_at", precision: nil, null: false |
| 137 | + t.datetime "updated_at", precision: nil, null: false |
| 138 | + t.datetime "starts_at", precision: nil |
| 139 | + t.datetime "ends_at", precision: nil |
143 | 140 | t.boolean "schedulable", default: true
|
144 | 141 | t.string "title"
|
145 | 142 | end
|
|
0 commit comments