|
10 | 10 | # |
11 | 11 | # It's strongly recommended that you check this file into your version control system. |
12 | 12 |
|
13 | | -ActiveRecord::Schema[7.1].define(version: 20_220_202_010_101) do |
| 13 | +ActiveRecord::Schema[7.1].define(version: 2026_03_21_000000) do |
14 | 14 | 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 | 15 | t.bigint "blob_id", null: false |
19 | 16 | t.datetime "created_at", null: false |
| 17 | + t.string "name", null: false |
| 18 | + t.bigint "record_id", null: false |
| 19 | + t.string "record_type", 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.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 | 25 | t.bigint "byte_size", null: false |
31 | 26 | t.string "checksum", null: false |
| 27 | + t.string "content_type" |
32 | 28 | t.datetime "created_at", null: false |
| 29 | + t.string "filename", null: false |
| 30 | + t.string "key", null: false |
| 31 | + t.text "metadata" |
| 32 | + t.string "service_name", null: false |
33 | 33 | t.index ["key"], name: "index_active_storage_blobs_on_key", unique: true |
34 | 34 | end |
35 | 35 |
|
36 | 36 | create_table "active_storage_db_files", force: :cascade do |t| |
37 | | - t.string "ref", null: false |
38 | | - t.binary "data", null: false |
39 | 37 | t.datetime "created_at", precision: nil, null: false |
| 38 | + t.binary "data", null: false |
| 39 | + t.string "ref", null: false |
| 40 | + t.datetime "updated_at" |
40 | 41 | t.index ["ref"], name: "index_active_storage_db_files_on_ref", unique: true |
41 | 42 | end |
42 | 43 |
|
|
47 | 48 | end |
48 | 49 |
|
49 | 50 | create_table "posts", force: :cascade do |t| |
50 | | - t.string "title" |
51 | 51 | t.text "content" |
52 | | - t.boolean "published" |
53 | 52 | t.datetime "created_at", null: false |
| 53 | + t.boolean "published" |
| 54 | + t.string "title" |
54 | 55 | t.datetime "updated_at", null: false |
55 | 56 | end |
56 | 57 |
|
|
0 commit comments