From 21c0f97b1b54159ca61436caf66d3a940f104120 Mon Sep 17 00:00:00 2001 From: Danny van Kooten Date: Tue, 13 Nov 2018 11:16:23 +0100 Subject: [PATCH] cannot vacuum from inside a transaction --- .../migrations/sqlite3/19_alter_referrer_stats_table.sql | 1 - 1 file changed, 1 deletion(-) diff --git a/pkg/datastore/sqlstore/migrations/sqlite3/19_alter_referrer_stats_table.sql b/pkg/datastore/sqlstore/migrations/sqlite3/19_alter_referrer_stats_table.sql index 07f11245..716413ea 100644 --- a/pkg/datastore/sqlstore/migrations/sqlite3/19_alter_referrer_stats_table.sql +++ b/pkg/datastore/sqlstore/migrations/sqlite3/19_alter_referrer_stats_table.sql @@ -19,7 +19,6 @@ INSERT INTO daily_referrer_stats LEFT JOIN hostnames h ON h.name = s.hostname LEFT JOIN pathnames p ON p.name = s.pathname; DROP TABLE daily_referrer_stats_old; -VACUUM; -- +migrate Down