sync fixes

This commit is contained in:
zadam
2021-02-12 23:30:11 +01:00
parent 9f19cf8046
commit d45a59aa4e
3 changed files with 10 additions and 11 deletions

View File

@@ -68,13 +68,6 @@ CREATE TABLE IF NOT EXISTS "options"
utcDateCreated TEXT not null,
utcDateModified TEXT NOT NULL
);
CREATE TABLE IF NOT EXISTS "recent_notes"
(
noteId TEXT not null primary key,
notePath TEXT not null,
utcDateCreated TEXT not null,
isDeleted INT NOT NULL DEFAULT 0
);
CREATE TABLE IF NOT EXISTS "attributes"
(
attributeId TEXT not null primary key,
@@ -110,3 +103,9 @@ CREATE INDEX IDX_attributes_noteId_index
on attributes (noteId);
CREATE INDEX IDX_attributes_value_index
on attributes (value);
CREATE TABLE IF NOT EXISTS "recent_notes"
(
noteId TEXT not null primary key,
notePath TEXT not null,
utcDateCreated TEXT not null
);