From 90ef9c7da3de2c5800a82d911cd18ca1cf1850e2 Mon Sep 17 00:00:00 2001
From: Andrew Dolgov <fox@madoka.volgo-balt.ru>
Date: Wed, 10 Nov 2010 11:45:28 +0300
Subject: schema: wrap upgrade scripts in transaction blocks

---
 schema/versions/pgsql/71.sql | 4 ++++
 1 file changed, 4 insertions(+)

(limited to 'schema/versions/pgsql/71.sql')

diff --git a/schema/versions/pgsql/71.sql b/schema/versions/pgsql/71.sql
index 50ac7820a..2061ada2b 100644
--- a/schema/versions/pgsql/71.sql
+++ b/schema/versions/pgsql/71.sql
@@ -1,3 +1,7 @@
+begin;
+
 insert into ttrss_filter_types (id,name,description) values (7, 'tag', 'Article Tags');
 
 update ttrss_version set schema_version = 71;
+
+commit;
-- 
cgit v1.2.3-54-g00ecf

