diff --git a/db/migrate/20240705224728_add_profiles_id_index.rb b/db/migrate/20240705224728_add_profiles_id_index.rb deleted file mode 100644 index 1d035fc5..00000000 --- a/db/migrate/20240705224728_add_profiles_id_index.rb +++ /dev/null @@ -1,5 +0,0 @@ -class AddProfilesIdIndex < ActiveRecord::Migration[7.1] - def change - add_index :profiles, %w[id], name: :index_profiles_id, unique: true - end -end diff --git a/db/schema.rb b/db/schema.rb index c8763550..89a2649b 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_07_05_224728) do +ActiveRecord::Schema[7.1].define(version: 2024_06_28_211903) do create_table "conferences", force: :cascade do |t| t.string "name" t.datetime "created_at", null: false @@ -60,7 +60,6 @@ t.boolean "public", default: false, null: false t.datetime "created_at", null: false t.datetime "updated_at", null: false - t.index ["id"], name: "index_profiles_id", unique: true t.index ["profileable_type", "profileable_id"], name: "index_profiles_on_profileable" end