Skip to content

Commit ef77425

Browse files
hsbtclaude
andcommitted
Restore schema.rb unintentionally regenerated by db:prepare
The dump was a side effect of a local sqlite db:prepare in an unrelated commit, not a deliberate schema update. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent ce3df2c commit ef77425

1 file changed

Lines changed: 22 additions & 23 deletions

File tree

db/schema.rb

Lines changed: 22 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -10,26 +10,26 @@
1010
#
1111
# It's strongly recommended that you check this file into your version control system.
1212

13-
ActiveRecord::Schema[8.1].define(version: 2024_11_21_042607) do
13+
ActiveRecord::Schema[7.0].define(version: 2023_09_11_072108) do
1414
create_table "active_storage_attachments", force: :cascade do |t|
15-
t.bigint "blob_id", null: false
16-
t.datetime "created_at", null: false
1715
t.string "name", null: false
18-
t.bigint "record_id", null: false
1916
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
2020
t.index ["blob_id"], name: "index_active_storage_attachments_on_blob_id"
2121
t.index ["record_type", "record_id", "name", "blob_id"], name: "index_active_storage_attachments_uniqueness", unique: true
2222
end
2323

2424
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
3025
t.string "key", null: false
26+
t.string "filename", null: false
27+
t.string "content_type"
3128
t.text "metadata"
3229
t.string "service_name", null: false
30+
t.integer "byte_size", null: false
31+
t.string "checksum"
32+
t.datetime "created_at", null: false
3333
t.index ["key"], name: "index_active_storage_blobs_on_key", unique: true
3434
end
3535

@@ -40,46 +40,45 @@
4040
end
4141

4242
create_table "logfiles", force: :cascade do |t|
43-
t.datetime "created_at", precision: nil
44-
t.binary "data"
45-
t.string "ext"
4643
t.integer "report_id"
44+
t.string "ext"
45+
t.binary "data"
46+
t.datetime "created_at", precision: nil
4747
t.datetime "updated_at", precision: nil
4848
t.index ["report_id", "ext"], name: "index_logfiles_on_report_id_and_ext", unique: true
4949
t.index ["report_id"], name: "index_logfiles_on_report_id"
5050
end
5151

5252
create_table "recents", force: :cascade do |t|
53-
t.datetime "created_at", null: false
54-
t.string "etag", null: false
5553
t.string "name", null: false
5654
t.integer "server_id", null: false
55+
t.string "etag", null: false
56+
t.datetime "created_at", null: false
5757
t.datetime "updated_at", null: false
5858
t.index ["server_id"], name: "index_recents_on_server_id"
5959
end
6060

6161
create_table "reports", force: :cascade do |t|
62-
t.string "branch"
63-
t.datetime "created_at", precision: nil
62+
t.integer "server_id"
6463
t.datetime "datetime", precision: nil
65-
t.text "ltsv"
66-
t.string "option"
64+
t.string "branch"
6765
t.integer "revision"
68-
t.integer "server_id"
6966
t.text "summary"
67+
t.datetime "created_at", precision: nil
7068
t.datetime "updated_at", precision: nil
69+
t.string "option"
70+
t.text "ltsv"
7171
t.index ["branch"], name: "index_reports_on_branch"
7272
t.index ["datetime"], name: "index_reports_on_datetime"
7373
t.index ["server_id", "branch", "option"], name: "index_reports_on_server_id_and_branch_and_option"
7474
end
7575

7676
create_table "servers", force: :cascade do |t|
77-
t.datetime "created_at", precision: nil
78-
t.date "eol_date"
7977
t.string "name"
80-
t.float "ordinal"
81-
t.datetime "updated_at", precision: nil
8278
t.string "uri"
79+
t.datetime "created_at", precision: nil
80+
t.datetime "updated_at", precision: nil
81+
t.float "ordinal"
8382
t.index ["name"], name: "index_servers_on_name"
8483
end
8584

0 commit comments

Comments
 (0)