From e55a298d5c7291edcf0b10b84dd0de7671773880 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 21 Nov 2005 15:04:46 +0100 Subject: [PATCH] fix wrong foreign key reference in ttrss_filters for PGSQL --- schema/ttrss_schema_pgsql.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schema/ttrss_schema_pgsql.sql b/schema/ttrss_schema_pgsql.sql index 99174558c..4a3173367 100644 --- a/schema/ttrss_schema_pgsql.sql +++ b/schema/ttrss_schema_pgsql.sql @@ -83,7 +83,7 @@ insert into ttrss_filter_types (id,name,description) values (4, 'link', create table ttrss_filters (id serial not null primary key, owner_uid integer not null references ttrss_users(id) on delete cascade, - feed_id integer references ttrss_filters(id) on delete cascade default null, + feed_id integer references ttrss_feeds(id) on delete cascade default null, filter_type integer not null references ttrss_filter_types(id), reg_exp varchar(250) not null, description varchar(250) not null default '');