From 8913cdbdfeb5cad04fab9669e498218243ea9501 Mon Sep 17 00:00:00 2001 From: Geoffrey Ragot Date: Wed, 12 Feb 2025 14:54:01 +0100 Subject: [PATCH] fix: next migration --- .../bucket/migrations/19-transactions-fill-pcv/up.sql | 6 ------ 1 file changed, 6 deletions(-) diff --git a/internal/storage/bucket/migrations/19-transactions-fill-pcv/up.sql b/internal/storage/bucket/migrations/19-transactions-fill-pcv/up.sql index 0c2d9d944..126ec836d 100644 --- a/internal/storage/bucket/migrations/19-transactions-fill-pcv/up.sql +++ b/internal/storage/bucket/migrations/19-transactions-fill-pcv/up.sql @@ -30,9 +30,6 @@ do $$ perform pg_notify('migrations-{{ .Schema }}', 'init: ' || (select count(*) from moves_view)); - -- disable triggers - set session_replication_role = replica; - loop with data as ( select transactions_id, volumes @@ -54,9 +51,6 @@ do $$ commit; end loop; - -- enable triggers - set session_replication_role = default; - drop table if exists moves_view; alter table transactions