From b58cf26600592cbd6374c689095a817a95349652 Mon Sep 17 00:00:00 2001
From: Andrew Dolgov <fox@bah.spb.su>
Date: Thu, 17 Nov 2005 18:37:15 +0100
Subject: update schema again

---
 schema/ttrss_schema_pgsql.sql | 1 +
 1 file changed, 1 insertion(+)

(limited to 'schema/ttrss_schema_pgsql.sql')

diff --git a/schema/ttrss_schema_pgsql.sql b/schema/ttrss_schema_pgsql.sql
index a4274d235..8bd8221de 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, 
-- 
cgit v1.2.3

