Automatically remove devices with old schemas when upgrading
This commit is contained in:
@@ -75,4 +75,4 @@ CREATE VIRTUAL TABLE device_%deviceid_fts USING fts5(
|
||||
tokenize = "unicode61 remove_diacritics 0"
|
||||
);
|
||||
|
||||
UPDATE devices SET schema_version=0 WHERE ROWID=%deviceid;
|
||||
UPDATE devices SET schema_version=1 WHERE ROWID=%deviceid;
|
||||
|
||||
Reference in New Issue
Block a user