summaryrefslogtreecommitdiff
path: root/schema/ttrss_schema_pgsql.sql
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2005-11-25 13:37:42 +0100
committerAndrew Dolgov <[email protected]>2005-11-25 13:37:42 +0100
commite552e5a2007e393bc16cacb5e046b1d583ed5748 (patch)
treed803579614da1e84035e877c4e061c93d9250eaa /schema/ttrss_schema_pgsql.sql
parentda49ccf5dc7c978d8bb430bf0f8f72d05fb4b299 (diff)
themes schema
Diffstat (limited to 'schema/ttrss_schema_pgsql.sql')
-rw-r--r--schema/ttrss_schema_pgsql.sql8
1 files changed, 7 insertions, 1 deletions
diff --git a/schema/ttrss_schema_pgsql.sql b/schema/ttrss_schema_pgsql.sql
index d761576c1..30ad8cb54 100644
--- a/schema/ttrss_schema_pgsql.sql
+++ b/schema/ttrss_schema_pgsql.sql
@@ -13,12 +13,18 @@ drop table ttrss_entries;
drop table ttrss_feeds;
drop table ttrss_feed_categories;
drop table ttrss_users;
+drop table ttrss_themes;
+
+create table ttrss_themes(id serial not null primary key,
+ theme_name varchar(200) not null,
+ theme_path varchar(200) not null);
create table ttrss_users (id serial not null primary key,
login varchar(120) not null unique,
pwd_hash varchar(250) not null,
last_login timestamp default null,
- access_level integer not null default 0);
+ access_level integer not null default 0
+ theme_id integer references ttrss_themes(id) default null);
insert into ttrss_users (login,pwd_hash,access_level) values ('admin', 'password', 10);