mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-09-01 19:49:54 +02:00
core: fix database resetting
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user