fix wrong foreign key reference in ttrss_filters for PGSQL
This commit is contained in:
parent
2c7070b519
commit
e55a298d5c
|
@ -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 '');
|
||||||
|
|
Loading…
Reference in New Issue