Actions
Defect #6044
closedduplicate key errors/wrong sequence counters after 0.8.7 -> 1.0 upgrade
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Database
Target version:
-
Start date:
2010-08-05
Due date:
% Done:
0%
Estimated time:
Resolution:
Invalid
Affected version:
Description
During and after doing an upgrade from 0.8.7 to 1.0, I was getting
duplicate key errors, because many of the sequence counters were
somehow wrong (in particular
wiki_content_versions
custom_values
had this problem).
I ran the attached sql code to "fix" all the id sequences; but this should probably be done in the db:migrate code somwhere.
Files
Actions