diff --git a/db/migrate/20240325161743_remove_index_dossiers_on_hidden_at.rb b/db/migrate/20240325161743_remove_index_dossiers_on_hidden_at.rb new file mode 100644 index 000000000..a8cf97ea2 --- /dev/null +++ b/db/migrate/20240325161743_remove_index_dossiers_on_hidden_at.rb @@ -0,0 +1,5 @@ +class RemoveIndexDossiersOnHiddenAt < ActiveRecord::Migration[7.0] + def change + remove_index :dossiers, name: "index_dossiers_on_hidden_at" + end +end diff --git a/db/schema.rb b/db/schema.rb index 48b8b7cbf..e8a2ac80f 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.0].define(version: 2024_03_25_160237) do +ActiveRecord::Schema[7.0].define(version: 2024_03_25_161743) do # These are extensions that must be enabled in order to support this database enable_extension "pgcrypto" enable_extension "plpgsql" @@ -497,7 +497,6 @@ ActiveRecord::Schema[7.0].define(version: 2024_03_25_160237) do t.index ["dossier_transfer_id"], name: "index_dossiers_on_dossier_transfer_id" t.index ["editing_fork_origin_id"], name: "index_dossiers_on_editing_fork_origin_id" t.index ["groupe_instructeur_id"], name: "index_dossiers_on_groupe_instructeur_id" - t.index ["hidden_at"], name: "index_dossiers_on_hidden_at" t.index ["parent_dossier_id"], name: "index_dossiers_on_parent_dossier_id" t.index ["prefill_token"], name: "index_dossiers_on_prefill_token", unique: true t.index ["revision_id"], name: "index_dossiers_on_revision_id"