We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9453d65 commit ff80c75Copy full SHA for ff80c75
tubesync/common/huey.py
@@ -37,7 +37,9 @@ class SqliteStorage(huey_SqliteStorage):
37
def _create_connection(self):
38
conn = super()._create_connection()
39
conn.execute(f'PRAGMA auto_vacuum = {self.auto_vacuum}')
40
+ conn.execute('PRAGMA foreign_keys = ON')
41
conn.execute(f'PRAGMA journal_size_limit = {self.journal_size_limit}')
42
+ conn.execute('PRAGMA user_version = 1')
43
conn.execute(f'PRAGMA wal_autocheckpoint={self.wal_autocheckpoint}')
44
# copied from huey_SqliteHuey to use EXTRA or NORMAL
45
# instead of FULL or OFF
0 commit comments