A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
core: fix database resetting
Abdullah Attab30ed83f7877
diff --git a/packages/core/src/api/index.ts b/packages/core/src/api/index.tsindex de5cdc909..2f59fae13 100644--- a/packages/core/src/api/index.ts+++ b/packages/core/src/api/index.ts@@ -229,8 +229,7 @@ class Database {"DELETE FROM sqlite_master","PRAGMA writable_schema = 0","VACUUM",- "PRAGMA integrity_check",- "PRAGMA rekey = ''"+ "PRAGMA integrity_check"]) {await sql.raw(statement).execute(this.sql());}