tt-rss/schema/upgrade-1.1.1-1.1.2-pgsql.sql
2005-12-29 19:03:24 +01:00

8 lines
220 B
PL/PgSQL

begin;
alter table ttrss_feeds add column parent_feed integer;
alter table ttrss_feeds add foreign key (parent_feed) references ttrss_feeds(id) on delete set null;
update ttrss_version set schema_version = 4;
commit;