Discourse Meta
Upgrades failing on migration with unique constraint violation
Product Support
sam
(Sam Saffron)
October 9, 2017, 8:57pm
3
Maybe try hard nuking the badge from the badges table?
show post in topic
Related topics
Topic
Replies
Views
Activity
Upgrade fails while migrating
Self-hosting
4
974
July 11, 2019
Upgrade failed with "duplicate key value violates unique constraint" error
Self-hosting
17
2729
February 29, 2020
Error during upgrading from Beta 3.1.x to latest
Self-hosting
2
945
January 20, 2023
Failed upgrade: UniqueViolation: duplicate key value violates unique constraint "data_explorer_queries_pkey"
Self-hosting
11
2298
September 10, 2020
Duplicate key value violates unique constraint on a table during upgrade
Self-hosting
5
2033
June 13, 2020