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