Skip to content

Commit b359382

Browse files
authored
Merge pull request #11760 from demarches-simplifiees/fix_migration
Tech: corrige une migration pro_connect pour qu'elle marche mm si l'index existe
2 parents 169c804 + a89aaf7 commit b359382

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

db/migrate/20250602115330_migrate_pro_connect_information_to_user_only.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ def up
88
add_index :agent_connect_informations, [:user_id, :sub],
99
unique: true,
1010
name: 'index_agent_connect_informations_on_user_id_and_sub',
11-
algorithm: :concurrently
11+
algorithm: :concurrently, if_not_exists: true
1212
remove_foreign_key :agent_connect_informations, :instructeurs
1313
end
1414

0 commit comments

Comments
 (0)