mirror of
https://git.asonix.dog/asonix/pict-rs
synced 2024-12-22 11:21:24 +00:00
Fix on_conflict for postgres store migration path
This commit is contained in:
parent
a761daca34
commit
783df60f81
1 changed files with 1 additions and 1 deletions
|
@ -1322,7 +1322,7 @@ impl StoreMigrationRepo for PostgresRepo {
|
|||
old_identifier.eq(input_old_identifier.as_ref()),
|
||||
new_identifier.eq(input_new_identifier.as_ref()),
|
||||
))
|
||||
.on_conflict((old_identifier, new_identifier))
|
||||
.on_conflict(old_identifier)
|
||||
.do_nothing()
|
||||
.execute(&mut conn)
|
||||
.with_metrics("pict-rs.postgres.store-migration.mark-migrated")
|
||||
|
|
Loading…
Reference in a new issue