schema: add field for filter type-specific params; bump schema
parent
d0da85c27c
commit
2362de6d9b
@ -0,0 +1,9 @@
|
||||
alter table ttrss_filters add column filter_param varchar(200);
|
||||
|
||||
update ttrss_filters set filter_param = '';
|
||||
|
||||
alter table ttrss_filters change filter_param filter_param varchar(200) not null;
|
||||
alter table ttrss_filters alter column filter_param set default '';
|
||||
|
||||
update ttrss_version set schema_version = 47;
|
||||
|
@ -0,0 +1,12 @@
|
||||
begin;
|
||||
|
||||
alter table ttrss_filters add column filter_param varchar(200);
|
||||
|
||||
update ttrss_filters set filter_param = '';
|
||||
|
||||
alter table ttrss_filters alter column filter_param set not null;
|
||||
alter table ttrss_filters alter column filter_param set default '';
|
||||
|
||||
update ttrss_version set schema_version = 47;
|
||||
|
||||
commit;
|
Loading…
Reference in New Issue