From 0ab0605d2297adc2108cd3c00bbcc580a32ef66d Mon Sep 17 00:00:00 2001 From: tcely Date: Wed, 11 Dec 2024 13:42:05 -0500 Subject: [PATCH] Keep legacy_alter_table off Newer Django will set this for us, but it won't matter if it is disabled twice. --- tubesync/tubesync/local_settings.py.container | 1 + 1 file changed, 1 insertion(+) diff --git a/tubesync/tubesync/local_settings.py.container b/tubesync/tubesync/local_settings.py.container index 77b531c1..3659b289 100644 --- a/tubesync/tubesync/local_settings.py.container +++ b/tubesync/tubesync/local_settings.py.container @@ -49,6 +49,7 @@ else: "OPTIONS": { "transaction_mode": "IMMEDIATE", "init_command": """ + PRAGMA legacy_alter_table = OFF; PRAGMA auto_vacuum = INCREMENTAL; PRAGMA incremental_vacuum(100); """,