2005-12-28 18:59:47 +00:00
|
|
|
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;
|
|
|
|
|
2005-12-30 03:05:01 +00:00
|
|
|
alter table ttrss_feeds add column private bool;
|
|
|
|
|
|
|
|
update ttrss_feeds set private = false;
|
|
|
|
|
|
|
|
alter table ttrss_feeds change private private bool not null;
|
|
|
|
alter table ttrss_feeds alter column private set default 0;
|
|
|
|
|
2005-12-29 18:03:24 +00:00
|
|
|
update ttrss_version set schema_version = 4;
|
|
|
|
|
2005-12-28 18:59:47 +00:00
|
|
|
commit;
|