feat(tasks): add SQL migration

This commit is contained in:
Elian Doran
2025-02-20 12:07:10 +02:00
parent 62c96fc95e
commit a433c9c189
2 changed files with 11 additions and 1 deletions

View File

@@ -0,0 +1,10 @@
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
);