[Digikam-devel] [PATCH 3/5] Ensure that data is migrated in line with foreign key dependencies.

Richard Mortimer richm at oldelvet.org.uk
Tue Nov 24 09:42:39 GMT 2015


This allows use of referential integrity checks in the database schema.
---
 libs/database/coredb/coredbcopymanager.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libs/database/coredb/coredbcopymanager.cpp b/libs/database/coredb/coredbcopymanager.cpp
index 8cbba79..38c32a8 100644
--- a/libs/database/coredb/coredbcopymanager.cpp
+++ b/libs/database/coredb/coredbcopymanager.cpp
@@ -88,12 +88,12 @@ void CoreDbCopyManager::copyDatabases(const DbEngineParameters& fromDBParameters
         << QLatin1String("ImageHaarMatrix")
         << QLatin1String("ImageInformation")
         << QLatin1String("ImageMetadata")
-        << QLatin1String("ImageTagProperties")
-        << QLatin1String("TagProperties")
         << QLatin1String("ImagePositions")
         << QLatin1String("ImageComments")
         << QLatin1String("ImageCopyright")
         << QLatin1String("Tags")
+        << QLatin1String("TagProperties")
+        << QLatin1String("ImageTagProperties")
         << QLatin1String("ImageTags")
         << QLatin1String("ImageProperties")
         << QLatin1String("ImageHistory")
-- 
2.5.0




More information about the Digikam-devel mailing list