data: Store separate storage version number in SqliteStorage for managing migrations

* deprecated the third version number as storage update number
* version can now have either 3 or 4 numbers
* whether a .coatidb file is outdated is now solely determined by the SqliteStorage::STORAGE_VERSION
This commit is contained in:
Eberhard Graether
2016-07-20 14:14:21 +02:00
parent eb8808b624
commit cb869c2465
8 changed files with 103 additions and 78 deletions
+4 -2
View File
@@ -49,9 +49,11 @@ public:
virtual void finishInjection();
FilePath getDbFilePath() const;
Version getVersion() const;
void init();
bool isEmpty() const;
bool isIncompatible() const;
void setup();
void clear();
void clearCaches();