Description:
merge
Commit status:
[Not Reviewed]
References:
Diff options:
Comments:
0 Commit comments
0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
r844:509b8db382d4 - - 1 file changed: 2 inserted, 1 deleted
@@ -1,25 +1,25 | |||
|
1 | 1 | # This file is auto-generated from the current state of the database. Instead |
|
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 | 5 | # Note that this schema.rb definition is the authoritative source for your |
|
6 | 6 | # database schema. If you need to create the application database on another |
|
7 | 7 | # system, you should be using db:schema:load, not running all the migrations |
|
8 | 8 | # from scratch. The latter is a flawed and unsustainable approach (the more migrations |
|
9 | 9 | # you'll amass, the slower it'll run and the greater likelihood for issues). |
|
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: 2021_0 |
|
|
13 | + ActiveRecord::Schema.define(version: 2021_08_09_105935) do | |
|
14 | 14 | |
|
15 | 15 | create_table "announcements", id: :integer, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci", force: :cascade do |t| |
|
16 | 16 | t.string "author" |
|
17 | 17 | t.text "body" |
|
18 | 18 | t.boolean "published" |
|
19 | 19 | t.datetime "created_at", null: false |
|
20 | 20 | t.datetime "updated_at", null: false |
|
21 | 21 | t.boolean "frontpage", default: false |
|
22 | 22 | t.boolean "contest_only", default: false |
|
23 | 23 | t.string "title" |
|
24 | 24 | t.string "notes" |
|
25 | 25 | t.boolean "on_nav_bar", default: false |
@@ -226,24 +226,25 | |||
|
226 | 226 | t.string "name", null: false |
|
227 | 227 | t.text "description" |
|
228 | 228 | t.boolean "public" |
|
229 | 229 | t.datetime "created_at", null: false |
|
230 | 230 | t.datetime "updated_at", null: false |
|
231 | 231 | end |
|
232 | 232 | |
|
233 | 233 | create_table "tasks", id: :integer, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci", force: :cascade do |t| |
|
234 | 234 | t.integer "submission_id" |
|
235 | 235 | t.datetime "created_at" |
|
236 | 236 | t.integer "status" |
|
237 | 237 | t.datetime "updated_at" |
|
238 | + t.index ["status"], name: "index_tasks_on_status" | |
|
238 | 239 | t.index ["submission_id"], name: "index_tasks_on_submission_id" |
|
239 | 240 | end |
|
240 | 241 | |
|
241 | 242 | create_table "test_pairs", id: :integer, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci", force: :cascade do |t| |
|
242 | 243 | t.integer "problem_id" |
|
243 | 244 | t.text "input", limit: 16777215 |
|
244 | 245 | t.text "solution", limit: 16777215 |
|
245 | 246 | t.datetime "created_at", null: false |
|
246 | 247 | t.datetime "updated_at", null: false |
|
247 | 248 | end |
|
248 | 249 | |
|
249 | 250 | create_table "test_requests", id: :integer, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci", force: :cascade do |t| |
You need to be logged in to leave comments.
Login now