|
10 | 10 | # |
11 | 11 | # It's strongly recommended that you check this file into your version control system. |
12 | 12 |
|
13 | | -ActiveRecord::Schema[7.1].define(version: 2025_03_27_094635) do |
| 13 | +ActiveRecord::Schema[8.0].define(version: 2025_04_02_034353) do |
14 | 14 | create_table "activity_types", charset: "utf8mb4", collation: "utf8mb4_general_ci", force: :cascade do |t| |
15 | 15 | t.string "name", null: false |
16 | 16 | t.string "abbreviation", null: false |
|
25 | 25 | t.bigint "user_id" |
26 | 26 | t.string "authentication_token", null: false |
27 | 27 | t.integer "token_type", default: 0, null: false |
| 28 | + t.datetime "created_at", null: false |
| 29 | + t.datetime "updated_at", null: false |
28 | 30 | t.index ["token_type"], name: "index_auth_tokens_on_token_type" |
29 | 31 | t.index ["user_id"], name: "index_auth_tokens_on_user_id" |
30 | 32 | end |
|
33 | 35 | t.datetime "start_date", null: false |
34 | 36 | t.integer "number_of_weeks", null: false |
35 | 37 | t.bigint "teaching_period_id" |
| 38 | + t.datetime "created_at", null: false |
| 39 | + t.datetime "updated_at", null: false |
36 | 40 | t.index ["teaching_period_id"], name: "index_breaks_on_teaching_period_id" |
37 | 41 | end |
38 | 42 |
|
|
41 | 45 | t.integer "mode", null: false |
42 | 46 | t.string "abbreviation", null: false |
43 | 47 | t.boolean "active", null: false |
| 48 | + t.datetime "created_at", null: false |
| 49 | + t.datetime "updated_at", null: false |
44 | 50 | t.index ["abbreviation"], name: "index_campuses_on_abbreviation", unique: true |
45 | 51 | t.index ["active"], name: "index_campuses_on_active" |
46 | 52 | t.index ["name"], name: "index_campuses_on_name", unique: true |
|
164 | 170 | t.string "abbreviation" |
165 | 171 | t.bigint "context_id" |
166 | 172 | t.string "context_type" |
| 173 | + t.datetime "created_at", null: false |
| 174 | + t.datetime "updated_at", null: false |
167 | 175 | t.index ["abbreviation", "context_type", "context_id"], name: "index_learning_outcomes_on_abbreviation_and_context", unique: true |
168 | 176 | t.index ["context_id", "context_type"], name: "index_learning_outcomes_on_context_id_and_context_type" |
169 | 177 | end |
|
389 | 397 | t.datetime "end_date", null: false |
390 | 398 | t.integer "year", null: false |
391 | 399 | t.datetime "active_until", null: false |
| 400 | + t.datetime "created_at", null: false |
| 401 | + t.datetime "updated_at", null: false |
392 | 402 | t.index ["period", "year"], name: "index_teaching_periods_on_period_and_year", unique: true |
393 | 403 | end |
394 | 404 |
|
|
400 | 410 | t.boolean "success_status", default: false |
401 | 411 | t.float "score_scaled", default: 0.0 |
402 | 412 | t.text "cmi_datamodel" |
| 413 | + t.datetime "created_at", null: false |
| 414 | + t.datetime "updated_at", null: false |
403 | 415 | t.index ["task_id"], name: "index_test_attempts_on_task_id" |
404 | 416 | end |
405 | 417 |
|
|
599 | 611 | create_table "webcal_unit_exclusions", charset: "utf8mb4", collation: "utf8mb4_general_ci", force: :cascade do |t| |
600 | 612 | t.bigint "webcal_id", null: false |
601 | 613 | t.bigint "unit_id", null: false |
| 614 | + t.datetime "created_at", null: false |
| 615 | + t.datetime "updated_at", null: false |
602 | 616 | t.index ["unit_id", "webcal_id"], name: "index_webcal_unit_exclusions_on_unit_id_and_webcal_id", unique: true |
603 | 617 | t.index ["unit_id"], name: "index_webcal_unit_exclusions_on_unit_id" |
604 | 618 | t.index ["webcal_id"], name: "fk_rails_d5fab02cb7" |
|
610 | 624 | t.bigint "user_id" |
611 | 625 | t.integer "reminder_time" |
612 | 626 | t.string "reminder_unit" |
| 627 | + t.datetime "created_at", null: false |
| 628 | + t.datetime "updated_at", null: false |
613 | 629 | t.index ["guid"], name: "index_webcals_on_guid", unique: true |
614 | 630 | t.index ["user_id"], name: "index_webcals_on_user_id", unique: true |
615 | 631 | end |
|
0 commit comments