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/ttrss_schema_pgsql.sql | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'schema/ttrss_schema_pgsql.sql')

diff --git a/schema/ttrss_schema_pgsql.sql b/schema/ttrss_schema_pgsql.sql
index 8ffce3513..228ce526f 100644
--- a/schema/ttrss_schema_pgsql.sql
+++ b/schema/ttrss_schema_pgsql.sql
@@ -184,7 +184,7 @@ create index ttrss_tags_owner_uid_index on ttrss_tags(owner_uid);
 
 create table ttrss_version (schema_version int not null);
 
-insert into ttrss_version values (31);
+insert into ttrss_version values (32);
 
 create table ttrss_enclosures (id serial not null primary key,
 	content_url text not null,
@@ -212,6 +212,7 @@ create table ttrss_prefs (pref_name varchar(250) not null primary key,
 	section_id integer not null references ttrss_prefs_sections(id) default 1,
 	short_desc text not null,
 	help_text text not null default '',
+	access_level integer not null default 0,
 	def_value text not null);
 
 insert into ttrss_prefs (pref_name,type_id,def_value,short_desc,section_id) values('ENABLE_FEED_ICONS', 1, 'true', 'Enable icons in feedlist',3);
-- 
cgit v1.2.3

