mirror of
https://github.com/YunoHost-Apps/ttrss_ynh.git
synced 2024-10-01 13:34:46 +02:00
14 lines
464 B
PL/PgSQL
14 lines
464 B
PL/PgSQL
begin;
|
|
|
|
alter table ttrss_filters add column cat_filter bool;
|
|
update ttrss_filters set cat_filter = false;
|
|
alter table ttrss_filters change cat_filter cat_filter bool not null;
|
|
alter table ttrss_filters alter column cat_filter set default false;
|
|
|
|
alter table ttrss_filters add column cat_id integer;
|
|
|
|
alter table ttrss_filters add FOREIGN KEY (cat_id) REFERENCES ttrss_feed_categories(id) ON DELETE CASCADE;
|
|
|
|
update ttrss_version set schema_version = 87;
|
|
|
|
commit;
|