summaryrefslogtreecommitdiff
path: root/schema/ttrss_schema_pgsql.sql
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2005-11-23 06:36:28 +0100
committerAndrew Dolgov <[email protected]>2005-11-23 06:36:28 +0100
commit5a214f9d683cf76f4cd24e873ce3ae1c7a704ff5 (patch)
tree85891e8422a3b495bce4bebba0674c41572cd76b /schema/ttrss_schema_pgsql.sql
parent4a9a8bd8849a45d72b0087967bf8dc18c90d1d68 (diff)
ttrss_feed_categories are now uid-aware
Diffstat (limited to 'schema/ttrss_schema_pgsql.sql')
-rw-r--r--schema/ttrss_schema_pgsql.sql1
1 files changed, 1 insertions, 0 deletions
diff --git a/schema/ttrss_schema_pgsql.sql b/schema/ttrss_schema_pgsql.sql
index 3e4ef6dcf..93bce353a 100644
--- a/schema/ttrss_schema_pgsql.sql
+++ b/schema/ttrss_schema_pgsql.sql
@@ -21,6 +21,7 @@ create table ttrss_users (id serial not null primary key,
insert into ttrss_users (login,pwd_hash,access_level) values ('admin', 'password', 10);
create table ttrss_feed_categories(id serial not null primary key,
+ owner_uid integer not null references ttrss_users(id) on delete cascade,
title varchar(200) not null);
create table ttrss_feeds (id serial not null primary key,