1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-31 19:51:29 +00:00

themes schema

This commit is contained in:
Andrew Dolgov
2005-11-25 13:37:42 +01:00
parent da49ccf5dc
commit e552e5a200
2 changed files with 16 additions and 2 deletions

View File

@@ -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);