remove index on dossiers/hidden_at

This commit is contained in:
simon lehericey 2024-03-25 17:19:50 +01:00
parent abe0b6071e
commit 64abf6325c
No known key found for this signature in database
GPG key ID: CDE670D827C7B3C5
2 changed files with 6 additions and 2 deletions

View file

@ -0,0 +1,5 @@
class RemoveIndexDossiersOnHiddenAt < ActiveRecord::Migration[7.0]
def change
remove_index :dossiers, name: "index_dossiers_on_hidden_at"
end
end

View file

@ -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"