From: Andrew Dolgov Date: Thu, 17 Nov 2005 17:37:15 +0000 (+0100) Subject: update schema again X-Git-Tag: schema_feature_freeze_for_1.1~255 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=b58cf26600592cbd6374c689095a817a95349652;p=tt-rss.git update schema again --- diff --git a/schema/ttrss_schema_pgsql.sql b/schema/ttrss_schema_pgsql.sql index a4274d23..8bd8221d 100644 --- a/schema/ttrss_schema_pgsql.sql +++ b/schema/ttrss_schema_pgsql.sql @@ -46,6 +46,7 @@ insert into ttrss_feeds (owner_uid,title,feed_url) values (1,'Technocrat.net', 'http://syndication.technocrat.net/rss'); create table ttrss_entries (id serial not null primary key, + owner_uid integer not null references ttrss_users(id) on delete cascade, feed_id int references ttrss_feeds(id) ON DELETE CASCADE not null, updated timestamp not null, title text not null,