|
|
|
@@ -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_18_144400) do |
|
|
|
ActiveRecord::Schema[8.0].define(version: 2026_01_21_024800) 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 |
|
|
|
@@ -55,7 +55,7 @@ ActiveRecord::Schema[8.0].define(version: 2026_01_18_144400) do |
|
|
|
t.index ["tag_id"], name: "index_nico_tag_relations_on_tag_id" |
|
|
|
end |
|
|
|
|
|
|
|
create_table "post_similarities", charset: "utf8mb4", collation: "utf8mb4_0900_ai_ci", force: :cascade do |t| |
|
|
|
create_table "post_similarities", primary_key: ["post_id", "target_post_id"], charset: "utf8mb4", collation: "utf8mb4_0900_ai_ci", force: :cascade do |t| |
|
|
|
t.bigint "post_id", null: false |
|
|
|
t.bigint "target_post_id", null: false |
|
|
|
t.float "cos", null: false |
|
|
|
@@ -126,7 +126,7 @@ ActiveRecord::Schema[8.0].define(version: 2026_01_18_144400) do |
|
|
|
t.index ["name"], name: "index_tag_names_on_name", unique: true |
|
|
|
end |
|
|
|
|
|
|
|
create_table "tag_similarities", charset: "utf8mb4", collation: "utf8mb4_0900_ai_ci", force: :cascade do |t| |
|
|
|
create_table "tag_similarities", primary_key: ["tag_id", "target_tag_id"], charset: "utf8mb4", collation: "utf8mb4_0900_ai_ci", force: :cascade do |t| |
|
|
|
t.bigint "tag_id", null: false |
|
|
|
t.bigint "target_tag_id", null: false |
|
|
|
t.float "cos", null: false |
|
|
|
|