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