mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 18:12:29 +08:00
feat(db): create task database in schema
This commit is contained in:
parent
0b11f4d9c7
commit
fc27c4fc7b
@ -132,3 +132,14 @@ CREATE INDEX IDX_attachments_ownerId_role
|
|||||||
CREATE INDEX IDX_notes_blobId on notes (blobId);
|
CREATE INDEX IDX_notes_blobId on notes (blobId);
|
||||||
CREATE INDEX IDX_revisions_blobId on revisions (blobId);
|
CREATE INDEX IDX_revisions_blobId on revisions (blobId);
|
||||||
CREATE INDEX IDX_attachments_blobId on attachments (blobId);
|
CREATE INDEX IDX_attachments_blobId on attachments (blobId);
|
||||||
|
|
||||||
|
CREATE TABLE IF NOT EXISTS "tasks"
|
||||||
|
(
|
||||||
|
"taskId" TEXT NOT NULL PRIMARY KEY,
|
||||||
|
"parentNoteId" TEXT NOT NULL,
|
||||||
|
"title" TEXT NOT NULL DEFAULT "",
|
||||||
|
"dueDate" INTEGER,
|
||||||
|
"isDone" INTEGER NOT NULL DEFAULT 0,
|
||||||
|
"isDeleted" INTEGER NOT NULL DEFAULT 0,
|
||||||
|
"utcDateModified" TEXT NOT NULL
|
||||||
|
);
|
Loading…
x
Reference in New Issue
Block a user