From: Andrew Dolgov Date: Thu, 17 Nov 2005 18:04:18 +0000 (+0100) Subject: more multiuser schema fixes X-Git-Tag: schema_feature_freeze_for_1.1~252 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=6318df0e5c5f8198f7003cd2e6fe8a269ecce341;p=tt-rss.git more multiuser schema fixes --- diff --git a/schema/ttrss_schema_pgsql.sql b/schema/ttrss_schema_pgsql.sql index 8bd8221d..407b3647 100644 --- a/schema/ttrss_schema_pgsql.sql +++ b/schema/ttrss_schema_pgsql.sql @@ -13,11 +13,13 @@ create table ttrss_users (id serial primary key, access_level integer not null default 0); insert into ttrss_users (login,pwd_hash,access_level) values ('admin', 'password', 10); +insert into ttrss_users (login,pwd_hash,access_level) values ('user-1', 'password1', 0); +insert into ttrss_users (login,pwd_hash,access_level) values ('user-2', 'password2', 0); create table ttrss_feeds (id serial not null primary key, owner_uid integer not null references ttrss_users(id) on delete cascade, - title varchar(200) not null unique, - feed_url varchar(250) unique not null, + title varchar(200) not null, + feed_url varchar(250) not null, icon_url varchar(250) not null default '', update_interval integer not null default 0, purge_interval integer not null default 0,