You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error: migration failed: duplicate key value violates unique constraint"attribute_pk", Key (id)=(17) already exists. inline0: WITH inserted_attribute AS (
INSERT INTO attribute (name)
VALUES ('analyzer.largestRetryPriority')
RETURNING id
)
INSERT INTO project_attribute
SELECTinserted_attribute.id, FALSE, project.idFROM project, inserted_attribute; (details: pq: duplicate key value violates unique constraint"attribute_pk")
Looking at the migration history it's possible we have up-and-down migrated this preprod environment in ways that could lead to the sequence getting out of whack with the actual contents of the attribute table.
Without a way to reset the sequence properly we can't upgrade.