diff --git a/internal/repository/migrations/sqlite3/04_add-constraints.down.sql b/internal/repository/migrations/sqlite3/04_add-constraints.down.sql index 76540b2..1dcb4cd 100644 --- a/internal/repository/migrations/sqlite3/04_add-constraints.down.sql +++ b/internal/repository/migrations/sqlite3/04_add-constraints.down.sql @@ -33,7 +33,6 @@ file_data_vol_total REAL NOT NULL DEFAULT 0.0; INSERT INTO job_new SELECT * FROM job; DROP TABLE job; ALTER TABLE job_new RENAME TO job; -VACUUM; CREATE INDEX IF NOT EXISTS job_stats ON job (cluster,subcluster,user); CREATE INDEX IF NOT EXISTS job_by_user ON job (user); diff --git a/internal/repository/migrations/sqlite3/04_add-constraints.up.sql b/internal/repository/migrations/sqlite3/04_add-constraints.up.sql index 5bfeb99..aec4898 100644 --- a/internal/repository/migrations/sqlite3/04_add-constraints.up.sql +++ b/internal/repository/migrations/sqlite3/04_add-constraints.up.sql @@ -33,7 +33,6 @@ UNIQUE (job_id, cluster, start_time)); INSERT INTO job_new SELECT * FROM job; DROP TABLE job; ALTER TABLE job_new RENAME TO job; -VACUUM; CREATE INDEX IF NOT EXISTS job_stats ON job (cluster,subcluster,user); CREATE INDEX IF NOT EXISTS job_by_user ON job (user);