agriget/schema/versions/pgsql/107.sql
2019-03-22 10:17:29 -04:00

16 lines
544 B
PL/PgSQL

begin;
alter table ttrss_filters2 add column inverse boolean;
update ttrss_filters2 set inverse = false;
alter table ttrss_filters2 alter column inverse set not null;
alter table ttrss_filters2 alter column inverse set default false;
alter table ttrss_filters2_rules add column inverse boolean;
update ttrss_filters2_rules set inverse = false;
alter table ttrss_filters2_rules alter column inverse set not null;
alter table ttrss_filters2_rules alter column inverse set default false;
update ttrss_version set schema_version = 107;
commit;