You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
438 B
PL/PgSQL
16 lines
438 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;
|
|
|
|
alter table ttrss_feeds add column private boolean;
|
|
|
|
update ttrss_feeds set private = false;
|
|
|
|
alter table ttrss_feeds alter column private set not null;
|
|
alter table ttrss_feeds alter column private set default false;
|
|
|
|
update ttrss_version set schema_version = 4;
|
|
|
|
commit;
|