Skip to content

Commit 1c45632

Browse files
authored
AO3-7230 Schema dump Rails 7.2 (#5505)
* AO3-7230 Schema dump Rails 7.2 * Update to include new migration * Remove missed field from sql structure
1 parent 1e0dfd7 commit 1c45632

File tree

2 files changed

+115
-113
lines changed

2 files changed

+115
-113
lines changed

db/schema.rb

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

13-
ActiveRecord::Schema[7.1].define(version: 2025_07_04_060231) do
13+
ActiveRecord::Schema[7.2].define(version: 2025_11_12_114418) do
1414
create_table "abuse_reports", id: :integer, charset: "utf8mb4", collation: "utf8mb4_unicode_ci", options: "ENGINE=InnoDB ROW_FORMAT=DYNAMIC", force: :cascade do |t|
1515
t.string "email"
1616
t.string "url", limit: 2080, null: false
@@ -247,7 +247,6 @@
247247
t.datetime "defaulted_at", precision: nil
248248
t.datetime "created_at", precision: nil
249249
t.datetime "updated_at", precision: nil
250-
t.integer "pinch_request_signup_id"
251250
t.datetime "covered_at", precision: nil
252251
t.index ["collection_id"], name: "index_challenge_assignments_on_collection_id"
253252
t.index ["creation_id"], name: "assignments_on_creation_id"
@@ -349,6 +348,8 @@
349348
t.boolean "show_random", default: false, null: false
350349
t.boolean "prompt_meme", default: false, null: false
351350
t.boolean "email_notify", default: false, null: false
351+
t.datetime "unrevealed_updated_at"
352+
t.datetime "anonymous_updated_at"
352353
t.index ["collection_id"], name: "index_collection_preferences_on_collection_id"
353354
end
354355

@@ -385,8 +386,8 @@
385386
t.integer "description_sanitizer_version", limit: 2, default: 0, null: false
386387
t.string "icon_alt_text", default: ""
387388
t.string "icon_comment_text", default: ""
388-
t.boolean "multifandom"
389-
t.boolean "open_doors"
389+
t.boolean "multifandom", default: false, null: false
390+
t.boolean "open_doors", default: false, null: false
390391
t.index ["name"], name: "index_collections_on_name"
391392
t.index ["parent_id"], name: "index_collections_on_parent_id"
392393
end
@@ -529,7 +530,7 @@
529530
t.index ["unhidden_works_count"], name: "index_unhidden_works_count"
530531
end
531532

532-
create_table "filter_taggings", id: :integer, charset: "utf8mb4", collation: "utf8mb4_unicode_ci", options: "ENGINE=InnoDB ROW_FORMAT=DYNAMIC", force: :cascade do |t|
533+
create_table "filter_taggings", charset: "utf8mb4", collation: "utf8mb4_unicode_ci", options: "ENGINE=InnoDB ROW_FORMAT=DYNAMIC", force: :cascade do |t|
533534
t.bigint "filter_id", null: false
534535
t.bigint "filterable_id", null: false
535536
t.string "filterable_type", limit: 100
@@ -790,10 +791,8 @@
790791
create_table "preferences", id: :integer, charset: "utf8mb4", collation: "utf8mb4_unicode_ci", options: "ENGINE=InnoDB ROW_FORMAT=DYNAMIC", force: :cascade do |t|
791792
t.integer "user_id"
792793
t.boolean "history_enabled", default: true
793-
t.boolean "email_visible", default: false
794794
t.datetime "created_at", precision: nil
795795
t.datetime "updated_at", precision: nil
796-
t.boolean "date_of_birth_visible", default: false
797796
t.boolean "comment_emails_off", default: false, null: false
798797
t.boolean "adult", default: false
799798
t.boolean "hide_warnings", default: false, null: false
@@ -824,9 +823,7 @@
824823

825824
create_table "profiles", id: :integer, charset: "utf8mb4", collation: "utf8mb4_unicode_ci", options: "ENGINE=InnoDB ROW_FORMAT=DYNAMIC", force: :cascade do |t|
826825
t.integer "user_id"
827-
t.string "location"
828826
t.text "about_me"
829-
t.date "date_of_birth"
830827
t.datetime "created_at", precision: nil
831828
t.datetime "updated_at", precision: nil
832829
t.string "title"
@@ -1115,7 +1112,7 @@
11151112
t.index ["work_id"], name: "index_hit_counters_on_work_id", unique: true
11161113
end
11171114

1118-
create_table "subscriptions", id: :integer, charset: "utf8mb4", collation: "utf8mb4_unicode_ci", options: "ENGINE=InnoDB ROW_FORMAT=DYNAMIC", force: :cascade do |t|
1115+
create_table "subscriptions", charset: "utf8mb4", collation: "utf8mb4_unicode_ci", options: "ENGINE=InnoDB ROW_FORMAT=DYNAMIC", force: :cascade do |t|
11191116
t.integer "user_id"
11201117
t.integer "subscribable_id"
11211118
t.string "subscribable_type"
@@ -1180,7 +1177,7 @@
11801177
t.datetime "updated_at", precision: nil
11811178
end
11821179

1183-
create_table "taggings", id: :integer, charset: "utf8mb4", collation: "utf8mb4_unicode_ci", options: "ENGINE=InnoDB ROW_FORMAT=DYNAMIC", force: :cascade do |t|
1180+
create_table "taggings", charset: "utf8mb4", collation: "utf8mb4_unicode_ci", options: "ENGINE=InnoDB ROW_FORMAT=DYNAMIC", force: :cascade do |t|
11841181
t.integer "tagger_id"
11851182
t.bigint "taggable_id", null: false
11861183
t.string "taggable_type", limit: 100, default: ""

0 commit comments

Comments
 (0)