aboutsummaryrefslogtreecommitdiff
path: root/Database.py
diff options
context:
space:
mode:
Diffstat (limited to 'Database.py')
-rw-r--r--Database.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Database.py b/Database.py
index 3c5ecccb..d1cc66ce 100644
--- a/Database.py
+++ b/Database.py
@@ -7,7 +7,7 @@ class Database(object):
self.location)
self.database = sqlite3.connect(self.full_location,
check_same_thread=False, isolation_level=None)
- self.database.execute("PRAGMA foreign_keys")
+ self.database.execute("PRAGMA foreign_keys = ON")
self.cursors = {}
self.make_servers_table()