From 7d18da01d83c2ffca4f6e204d25a32e75b3f0f88 Mon Sep 17 00:00:00 2001 From: Emi Matchu Date: Sat, 30 Mar 2024 23:38:04 -0700 Subject: [PATCH] Update schema.rb for ID column limit increase Commit 07617fa34f71f865366fe380a872303534a965c3 was an emergency commit while I was on a trip, away from my usual workstation! I was able to write the migration and run it against production, but I didn't have the dev server fully set up, so I wasn't able to run the migration in development, which is when Rails updates `schema.rb`. Now I'm home and can run it, easy peasy! `rails db:migrate` --- db/schema.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/db/schema.rb b/db/schema.rb index 6c44af7a..b0f54f46 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -10,7 +10,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema[7.1].define(version: 2024_02_29_015410) do +ActiveRecord::Schema[7.1].define(version: 2024_03_23_234243) do create_table "alt_styles", charset: "utf8mb4", collation: "utf8mb4_unicode_520_ci", force: :cascade do |t| t.integer "species_id", null: false t.integer "color_id", null: false @@ -106,7 +106,7 @@ ActiveRecord::Schema[7.1].define(version: 2024_02_29_015410) do t.integer "campaign_id", null: false end - create_table "item_outfit_relationships", id: :integer, charset: "utf8mb4", collation: "utf8mb4_unicode_520_ci", force: :cascade do |t| + create_table "item_outfit_relationships", charset: "utf8mb4", collation: "utf8mb4_unicode_520_ci", force: :cascade do |t| t.integer "item_id" t.integer "outfit_id" t.boolean "is_worn"