ttrss_filters: add action_param field, bump schema version
parent
3db880c627
commit
9ebaec057c
@ -0,0 +1,9 @@
|
||||
alter table ttrss_filters add column action_param varchar(200);
|
||||
|
||||
update ttrss_filters set action_param = '';
|
||||
|
||||
alter table ttrss_filters change action_param action_param varchar(200) not null;
|
||||
alter table ttrss_filters alter column action_param set default '';
|
||||
|
||||
update ttrss_version set schema_version = 12;
|
||||
|
@ -0,0 +1,12 @@
|
||||
begin;
|
||||
|
||||
alter table ttrss_filters add column action_param varchar(200);
|
||||
|
||||
update ttrss_filters set action_param = '';
|
||||
|
||||
alter table ttrss_filters alter column action_param set not null;
|
||||
alter table ttrss_filters alter column action_param set default '';
|
||||
|
||||
update ttrss_version set schema_version = 12;
|
||||
|
||||
commit;
|
Loading…
Reference in New Issue