schema update

This commit is contained in:
zadam 2019-05-27 19:34:18 +02:00
parent 296cb7236f
commit 40cec31099
3 changed files with 2505 additions and 2503 deletions

View File

@ -42,13 +42,6 @@ CREATE TABLE IF NOT EXISTS "branches" (
hash TEXT DEFAULT "" NOT NULL,
PRIMARY KEY(`branchId`)
);
CREATE TABLE IF NOT EXISTS "recent_notes" (
`branchId` TEXT NOT NULL PRIMARY KEY,
`notePath` TEXT NOT NULL,
hash TEXT DEFAULT "" NOT NULL,
`utcDateCreated` TEXT NOT NULL,
isDeleted INT
);
CREATE TABLE IF NOT EXISTS "event_log" (
`eventId` TEXT NOT NULL PRIMARY KEY,
`noteId` TEXT,
@ -145,3 +138,11 @@ CREATE TABLE IF NOT EXISTS "note_contents" (
`utcDateModified` TEXT NOT NULL,
PRIMARY KEY(`noteId`)
);
CREATE TABLE recent_notes
(
noteId TEXT not null primary key,
notePath TEXT not null,
hash TEXT default "" not null,
utcDateCreated TEXT not null,
isDeleted INT
);

4992
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -66,6 +66,7 @@
"session-file-store": "1.2.0",
"simple-node-logger": "18.12.22",
"sqlite": "3.0.3",
"sqlite3": "4.0.6",
"tar-stream": "2.0.1",
"turndown": "5.0.3",
"unescape": "1.0.1",