Summary: | UpdateSchemaFromV7ToV9 fails due to duplicate key in album_2 | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Theo van Rijn <theo.van.rijn> |
Component: | Database-Migration | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | metzpinguin |
Priority: | NOR | ||
Version: | 5.9.0 | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/digikam/8f957ac0e192de2f1c35d76b1ad7d13b1abd8325 | Version Fixed In: | 6.0.0 |
Sentry Crash Report: |
Description
Theo van Rijn
2018-05-06 19:54:21 UTC
I think this has really been a very individual problem. Also, in the history of dbconfig.xml I can not see that digiKam has ever created this indexes. I would also recommend you to export your old DB with the migration tool to a new one, in order to clean it up as well. Maik Git commit 8f957ac0e192de2f1c35d76b1ad7d13b1abd8325 by Maik Qualmann. Committed on 10/05/2018 at 06:11. Pushed by mqualmann into branch 'master'. there are no problems if we delete these extra indexes as well FIXED-IN: 6.0.0 M +2 -1 NEWS M +2 -0 core/data/database/dbconfig.xml.cmake.in https://commits.kde.org/digikam/8f957ac0e192de2f1c35d76b1ad7d13b1abd8325 The migration tool worked like a charm, the new schema does not have any of the superfluous indexes any more. The DB size shrank from almost 2GB to just over 200MB. Thanks Maik! For both solutions. |