Vacuum not allowed within a migration transaction

This commit is contained in:
Christoph Kluge
2025-11-24 13:30:25 +01:00
parent 3b37f3630c
commit 414147177a

View File

@@ -227,4 +227,5 @@ CREATE INDEX IF NOT EXISTS jobs_energy_starttime ON job (energy, start_time);
PRAGMA optimize; PRAGMA optimize;
-- Optimize DB size: https://sqlite.org/lang_vacuum.html -- Optimize DB size: https://sqlite.org/lang_vacuum.html
VACUUM; -- Not allowed within a migration transaction; Keep command here for documentation and recommendation
-- Command: 'VACUUM;'