|
10 | 10 | # |
11 | 11 | # It's strongly recommended that you check this file into your version control system. |
12 | 12 |
|
13 | | -ActiveRecord::Schema[8.1].define(version: 2024_11_21_042607) do |
| 13 | +ActiveRecord::Schema[7.0].define(version: 2023_09_11_072108) do |
14 | 14 | create_table "active_storage_attachments", force: :cascade do |t| |
15 | | - t.bigint "blob_id", null: false |
16 | | - t.datetime "created_at", null: false |
17 | 15 | t.string "name", null: false |
18 | | - t.bigint "record_id", null: false |
19 | 16 | t.string "record_type", null: false |
| 17 | + t.bigint "record_id", null: false |
| 18 | + t.bigint "blob_id", null: false |
| 19 | + t.datetime "created_at", null: false |
20 | 20 | t.index ["blob_id"], name: "index_active_storage_attachments_on_blob_id" |
21 | 21 | t.index ["record_type", "record_id", "name", "blob_id"], name: "index_active_storage_attachments_uniqueness", unique: true |
22 | 22 | end |
23 | 23 |
|
24 | 24 | create_table "active_storage_blobs", force: :cascade do |t| |
25 | | - t.integer "byte_size", null: false |
26 | | - t.string "checksum" |
27 | | - t.string "content_type" |
28 | | - t.datetime "created_at", null: false |
29 | | - t.string "filename", null: false |
30 | 25 | t.string "key", null: false |
| 26 | + t.string "filename", null: false |
| 27 | + t.string "content_type" |
31 | 28 | t.text "metadata" |
32 | 29 | t.string "service_name", null: false |
| 30 | + t.integer "byte_size", null: false |
| 31 | + t.string "checksum" |
| 32 | + t.datetime "created_at", null: false |
33 | 33 | t.index ["key"], name: "index_active_storage_blobs_on_key", unique: true |
34 | 34 | end |
35 | 35 |
|
|
40 | 40 | end |
41 | 41 |
|
42 | 42 | create_table "logfiles", force: :cascade do |t| |
43 | | - t.datetime "created_at", precision: nil |
44 | | - t.binary "data" |
45 | | - t.string "ext" |
46 | 43 | t.integer "report_id" |
| 44 | + t.string "ext" |
| 45 | + t.binary "data" |
| 46 | + t.datetime "created_at", precision: nil |
47 | 47 | t.datetime "updated_at", precision: nil |
48 | 48 | t.index ["report_id", "ext"], name: "index_logfiles_on_report_id_and_ext", unique: true |
49 | 49 | t.index ["report_id"], name: "index_logfiles_on_report_id" |
50 | 50 | end |
51 | 51 |
|
52 | 52 | create_table "recents", force: :cascade do |t| |
53 | | - t.datetime "created_at", null: false |
54 | | - t.string "etag", null: false |
55 | 53 | t.string "name", null: false |
56 | 54 | t.integer "server_id", null: false |
| 55 | + t.string "etag", null: false |
| 56 | + t.datetime "created_at", null: false |
57 | 57 | t.datetime "updated_at", null: false |
58 | 58 | t.index ["server_id"], name: "index_recents_on_server_id" |
59 | 59 | end |
60 | 60 |
|
61 | 61 | create_table "reports", force: :cascade do |t| |
62 | | - t.string "branch" |
63 | | - t.datetime "created_at", precision: nil |
| 62 | + t.integer "server_id" |
64 | 63 | t.datetime "datetime", precision: nil |
65 | | - t.text "ltsv" |
66 | | - t.string "option" |
| 64 | + t.string "branch" |
67 | 65 | t.integer "revision" |
68 | | - t.integer "server_id" |
69 | 66 | t.text "summary" |
| 67 | + t.datetime "created_at", precision: nil |
70 | 68 | t.datetime "updated_at", precision: nil |
| 69 | + t.string "option" |
| 70 | + t.text "ltsv" |
71 | 71 | t.index ["branch"], name: "index_reports_on_branch" |
72 | 72 | t.index ["datetime"], name: "index_reports_on_datetime" |
73 | 73 | t.index ["server_id", "branch", "option"], name: "index_reports_on_server_id_and_branch_and_option" |
74 | 74 | end |
75 | 75 |
|
76 | 76 | create_table "servers", force: :cascade do |t| |
77 | | - t.datetime "created_at", precision: nil |
78 | | - t.date "eol_date" |
79 | 77 | t.string "name" |
80 | | - t.float "ordinal" |
81 | | - t.datetime "updated_at", precision: nil |
82 | 78 | t.string "uri" |
| 79 | + t.datetime "created_at", precision: nil |
| 80 | + t.datetime "updated_at", precision: nil |
| 81 | + t.float "ordinal" |
83 | 82 | t.index ["name"], name: "index_servers_on_name" |
84 | 83 | end |
85 | 84 |
|
|
0 commit comments