|
|
|
@@ -239,7 +239,7 @@ ActiveRecord::Schema[8.0].define(version: 2026_03_23_192300) do |
|
|
|
t.datetime "updated_at", null: false |
|
|
|
end |
|
|
|
|
|
|
|
create_table "wiki_assets", primary_key: ["wiki_page_id", "no"], charset: "utf8mb4", collation: "utf8mb4_0900_ai_ci", force: :cascade do |t| |
|
|
|
create_table "wiki_assets", charset: "utf8mb4", collation: "utf8mb4_0900_ai_ci", force: :cascade do |t| |
|
|
|
t.bigint "wiki_page_id", null: false |
|
|
|
t.integer "no", null: false |
|
|
|
t.string "alt_text" |
|
|
|
@@ -248,6 +248,7 @@ ActiveRecord::Schema[8.0].define(version: 2026_03_23_192300) do |
|
|
|
t.datetime "created_at", null: false |
|
|
|
t.datetime "updated_at", null: false |
|
|
|
t.index ["created_by_user_id"], name: "index_wiki_assets_on_created_by_user_id" |
|
|
|
t.index ["wiki_page_id", "no"], name: "index_wiki_assets_on_wiki_page_id_and_no", unique: true |
|
|
|
t.index ["wiki_page_id", "sha256"], name: "index_wiki_assets_on_wiki_page_id_and_sha256", unique: true |
|
|
|
end |
|
|
|
|
|
|
|
|