From ee7b97ae56f731d92d013f827b3c7f5c7245e832 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Thu, 6 Mar 2025 23:45:06 +0200 Subject: [PATCH] revert(db): back to 228 (no tasks) --- db/migrations/0229__tasks.sql | 10 ---------- src/services/app_info.ts | 2 +- 2 files changed, 1 insertion(+), 11 deletions(-) delete mode 100644 db/migrations/0229__tasks.sql diff --git a/db/migrations/0229__tasks.sql b/db/migrations/0229__tasks.sql deleted file mode 100644 index 4d0381db2..000000000 --- a/db/migrations/0229__tasks.sql +++ /dev/null @@ -1,10 +0,0 @@ -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 -); \ No newline at end of file diff --git a/src/services/app_info.ts b/src/services/app_info.ts index 63c4edfcd..d8b7972cd 100644 --- a/src/services/app_info.ts +++ b/src/services/app_info.ts @@ -5,7 +5,7 @@ import build from "./build.js"; import packageJson from "../../package.json" with { type: "json" }; import dataDir from "./data_dir.js"; -const APP_DB_VERSION = 229; +const APP_DB_VERSION = 228; const SYNC_VERSION = 35; const CLIPPER_PROTOCOL_VERSION = "1.0";