diff options
| author | 2017-12-06 10:43:06 +0000 | |
|---|---|---|
| committer | 2017-12-06 10:43:06 +0000 | |
| commit | 3b232d9959117e955e5d7c7e2ce3be1d77c9c4c1 (patch) | |
| tree | ba1fccdafb7d418aa755cec7d84e35daf9759392 | |
| parent | NR: 0000 if headcode None (diff) | |
| signature | ||
Enable foreign key constraint, don't poll it
| -rw-r--r-- | Database.py | 2 |
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() |
