fix wrong foreign key reference in ttrss_filters for PGSQL

This commit is contained in:
Andrew Dolgov 2005-11-21 15:04:46 +01:00
parent 2c7070b519
commit e55a298d5c
1 changed files with 1 additions and 1 deletions

View File

@ -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, create table ttrss_filters (id serial not null primary key,
owner_uid integer not null references ttrss_users(id) on delete cascade, 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), filter_type integer not null references ttrss_filter_types(id),
reg_exp varchar(250) not null, reg_exp varchar(250) not null,
description varchar(250) not null default ''); description varchar(250) not null default '');