add forgotten file
This commit is contained in:
parent
4da6582763
commit
3c5345062a
1 changed files with 10 additions and 0 deletions
10
include/sql/patch/upgrade140.sql
Normal file
10
include/sql/patch/upgrade140.sql
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
begin;
|
||||
alter table user_filter rename unpaid to operation_filter;
|
||||
alter table user_filter alter column operation_filter type text;
|
||||
update user_filter set operation_filter = 'paid' where operation_filter is not null;
|
||||
update user_filter set operation_filter = 'all' where operation_filter is null;
|
||||
comment on column user_filter.operation_filter is 'Status of the operation : paid, unpaid or all operation';
|
||||
alter table user_filter alter operation_filter set not null;
|
||||
|
||||
insert into version (val,v_description) values (141,'Search filter with operation status');
|
||||
commit ;
|
||||
Loading…
Add table
Add a link
Reference in a new issue