summaryrefslogtreecommitdiff
path: root/src/discord/store.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/discord/store.cpp')
-rw-r--r--src/discord/store.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/discord/store.cpp b/src/discord/store.cpp
index 1cb7231..5e4e3b3 100644
--- a/src/discord/store.cpp
+++ b/src/discord/store.cpp
@@ -15,7 +15,7 @@ Store::Store(bool mem_store)
m_db.Execute(R"(
PRAGMA writable_schema = 1;
- DELETE FROM sqlite_master;
+ DELETE FROM sqlite_master WHERE TYPE IN ("view", "table", "index", "trigger");
PRAGMA writable_schema = 0;
VACUUM;
PRAGMA integrity_check;