|
|
|
@@ -10,7 +10,7 @@ |
|
|
|
# |
|
|
|
# It's strongly recommended that you check this file into your version control system. |
|
|
|
|
|
|
|
ActiveRecord::Schema[8.0].define(version: 2026_01_27_000900) do |
|
|
|
ActiveRecord::Schema[8.0].define(version: 2026_01_27_005300) do |
|
|
|
create_table "active_storage_attachments", charset: "utf8mb4", collation: "utf8mb4_0900_ai_ci", force: :cascade do |t| |
|
|
|
t.string "name", null: false |
|
|
|
t.string "record_type", null: false |
|
|
|
@@ -152,13 +152,12 @@ ActiveRecord::Schema[8.0].define(version: 2026_01_27_000900) do |
|
|
|
t.index ["ip_address_id"], name: "index_user_ips_on_ip_address_id" |
|
|
|
end |
|
|
|
|
|
|
|
create_table "user_post_views", charset: "utf8mb4", collation: "utf8mb4_0900_ai_ci", force: :cascade do |t| |
|
|
|
create_table "user_post_views", primary_key: ["user_id", "post_id"], charset: "utf8mb4", collation: "utf8mb4_0900_ai_ci", force: :cascade do |t| |
|
|
|
t.bigint "user_id", null: false |
|
|
|
t.bigint "post_id", null: false |
|
|
|
t.datetime "created_at", null: false |
|
|
|
t.datetime "updated_at", null: false |
|
|
|
t.index ["post_id"], name: "index_user_post_views_on_post_id" |
|
|
|
t.index ["user_id"], name: "index_user_post_views_on_user_id" |
|
|
|
end |
|
|
|
|
|
|
|
create_table "users", charset: "utf8mb4", collation: "utf8mb4_0900_ai_ci", force: :cascade do |t| |
|
|
|
|