|
10 | 10 | # |
11 | 11 | # It's strongly recommended that you check this file into your version control system. |
12 | 12 |
|
13 | | -ActiveRecord::Schema[7.2].define(version: 2025_02_18_175247) do |
| 13 | +ActiveRecord::Schema[7.2].define(version: 2025_06_06_023828) do |
14 | 14 | create_table "active_admin_comments", charset: "utf8mb4", collation: "utf8mb4_0900_ai_ci", force: :cascade do |t| |
15 | 15 | t.string "namespace" |
16 | 16 | t.text "body", size: :medium |
|
195 | 195 | t.integer "position" |
196 | 196 | t.string "result" |
197 | 197 | t.decimal "score", precision: 18, scale: 6 |
198 | | - t.integer "time" |
199 | | - t.integer "rss" |
| 198 | + t.bigint "time" |
| 199 | + t.bigint "rss" |
200 | 200 | t.datetime "created_at", null: false |
201 | 201 | t.datetime "updated_at", null: false |
202 | 202 | t.index ["old_submission_id"], name: "index_old_submission_testdata_results_on_old_submission_id" |
|
207 | 207 | t.bigint "problem_id" |
208 | 208 | t.string "result" |
209 | 209 | t.decimal "score", precision: 18, scale: 6 |
210 | | - t.integer "total_time" |
211 | | - t.integer "total_memory" |
| 210 | + t.bigint "total_time" |
| 211 | + t.bigint "total_memory" |
212 | 212 | t.datetime "created_at", null: false |
213 | 213 | t.datetime "updated_at", null: false |
214 | 214 | t.index ["problem_id", "result", "score", "total_time", "total_memory"], name: "index_old_submissions_topcoder", order: { score: :desc } |
|
303 | 303 | t.integer "position" |
304 | 304 | t.string "result" |
305 | 305 | t.decimal "time", precision: 12, scale: 3 |
306 | | - t.integer "rss" |
| 306 | + t.bigint "rss" |
307 | 307 | t.decimal "score", precision: 18, scale: 6 |
308 | 308 | t.datetime "created_at", null: false |
309 | 309 | t.datetime "updated_at", null: false |
310 | | - t.integer "vss" |
| 310 | + t.bigint "vss" |
311 | 311 | t.string "message_type" |
312 | 312 | t.text "message", size: :medium |
313 | 313 | t.index ["submission_id", "position"], name: "index_submission_testdata_results_on_submission_id_and_position", unique: true |
|
322 | 322 | t.bigint "problem_id", default: 0 |
323 | 323 | t.bigint "user_id", default: 0 |
324 | 324 | t.bigint "contest_id" |
325 | | - t.integer "total_time" |
326 | | - t.integer "total_memory" |
| 325 | + t.bigint "total_time" |
| 326 | + t.bigint "total_memory" |
327 | 327 | t.text "message", size: :medium |
328 | 328 | t.bigint "compiler_id", null: false |
329 | 329 | t.bigint "code_length", default: 0, null: false |
|
0 commit comments