aboutsummaryrefslogtreecommitdiff
path: root/libdino
diff options
context:
space:
mode:
Diffstat (limited to 'libdino')
-rw-r--r--libdino/src/service/database.vala3
1 files changed, 3 insertions, 0 deletions
diff --git a/libdino/src/service/database.vala b/libdino/src/service/database.vala
index 8b32c107..39dcf234 100644
--- a/libdino/src/service/database.vala
+++ b/libdino/src/service/database.vala
@@ -246,6 +246,9 @@ public class Database : Qlite.Database {
try {
exec("PRAGMA synchronous=0");
} catch (Error e) { }
+ try {
+ exec("PRAGMA secure_delete=1");
+ } catch (Error e) { }
}
public override void migrate(long oldVersion) {