core: fix database resetting

This commit is contained in:
Abdullah Atta
2024-02-10 19:49:30 +05:00
parent 1dcbf93b3a
commit a400350e48

View File

@@ -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());
}