From 2b6ed06b23041812d0319e5146426c06cbb50459 Mon Sep 17 00:00:00 2001
From: Andrew Dolgov <fox@madoka.spb.ru>
Date: Wed, 30 Jan 2008 11:54:16 +0100
Subject: schema: add ttrss_prefs.access_level, bump version

---
 schema/versions/pgsql/32.sql | 6 ++++++
 1 file changed, 6 insertions(+)
 create mode 100644 schema/versions/pgsql/32.sql

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

diff --git a/schema/versions/pgsql/32.sql b/schema/versions/pgsql/32.sql
new file mode 100644
index 000000000..30565555e
--- /dev/null
+++ b/schema/versions/pgsql/32.sql
@@ -0,0 +1,6 @@
+alter table ttrss_prefs add column access_level integer;
+update ttrss_prefs set access_level = 0;
+alter table ttrss_prefs alter column access_level set not null;
+alter table ttrss_prefs alter column access_level set default 0;
+
+update ttrss_version set schema_version = 32;
-- 
cgit v1.2.3-54-g00ecf

