25 #ifndef DIGIKAM_COREDB_SCHEMA_UPDATER_H
26 #define DIGIKAM_COREDB_SCHEMA_UPDATER_H
44 class InitializationObserver;
50 static int schemaVersion();
51 static int filterSettingsVersion();
52 static int uniqueHashVersion();
53 static bool isUniqueHashUpToDate();
63 bool updateUniqueHash();
65 const QString getLastErrorMessage();
72 bool beginWrapSchemaUpdateStep();
73 bool endWrapSchemaUpdateStep(
bool stepOperationSuccess,
const QString& errorMsg);
74 void defaultFilterSettings(QStringList& defaultItemFilter,
75 QStringList& defaultVideoFilter,
76 QStringList& defaultAudioFilter);
77 void defaultIgnoreDirectoryFilterSettings(QStringList& defaultIgnoreDirectoryFilter);
78 bool createFilterSettings();
79 bool updateFilterSettings();
80 bool createDatabase();
83 bool createTriggers();
84 bool copyV3toV4(
const QString& digikam3DBPath,
const QString& currentDBPath);
85 bool performUpdateToVersion(
const QString& actionName,
int newVersion,
int newRequiredVersion);
86 bool updateToVersion(
int targetVersion);
88 void setLegacySettingEntries();
89 void readVersionSettings();
90 void setVersionSettings();
95 bool createTablesV3();
97 void preAlpha010Update1();
99 void preAlpha010Update2();
101 void preAlpha010Update3();
103 void beta010Update1();
105 void beta010Update2();
Definition: coredbaccess.h:56
Definition: coredbbackend.h:42
Definition: coredbschemaupdater.h:47
Definition: dbengineparameters.h:49
Definition: collectionscannerobserver.h:57
Definition: datefolderview.cpp:43