mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2025-11-26 03:23:07 +01:00
add vacuum statement to migration
- reduces DB size after job table migration
This commit is contained in:
@@ -225,3 +225,6 @@ CREATE INDEX IF NOT EXISTS jobs_energy_starttime ON job (energy, start_time);
|
||||
|
||||
-- Optimize DB index usage
|
||||
PRAGMA optimize;
|
||||
|
||||
-- Optimize DB size: https://sqlite.org/lang_vacuum.html
|
||||
VACUUM;
|
||||
Reference in New Issue
Block a user