summaryrefslogtreecommitdiff
path: root/schema/ttrss_schema_pgsql.sql
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2005-12-16 06:48:45 +0100
committerAndrew Dolgov <[email protected]>2005-12-16 06:48:45 +0100
commit855d0ecfda212ef36f35fff63e93dc8c6afd1126 (patch)
tree7538a8d09a3e06ee19c9b72c83b64f57cf0d4675 /schema/ttrss_schema_pgsql.sql
parente93a3c96bb7baf28be14918387839d172dbb5e9b (diff)
schema: wrap table creation in transaction block
Diffstat (limited to 'schema/ttrss_schema_pgsql.sql')
-rw-r--r--schema/ttrss_schema_pgsql.sql4
1 files changed, 3 insertions, 1 deletions
diff --git a/schema/ttrss_schema_pgsql.sql b/schema/ttrss_schema_pgsql.sql
index 1b5b8c123..dcb996593 100644
--- a/schema/ttrss_schema_pgsql.sql
+++ b/schema/ttrss_schema_pgsql.sql
@@ -16,6 +16,8 @@ drop table ttrss_feed_categories;
drop table ttrss_users;
drop table ttrss_themes;
+begin;
+
create table ttrss_themes(id serial not null primary key,
theme_name varchar(200) not null,
theme_path varchar(200) not null);
@@ -214,4 +216,4 @@ create table ttrss_user_prefs (
create index ttrss_user_prefs_owner_uid_index on ttrss_user_prefs(owner_uid);
create index ttrss_user_prefs_value_index on ttrss_user_prefs(value);
-
+commit;