mirror of https://github.com/sipwise/db-schema.git
.. to exactly match the old behaviour when persisting it. Change-Id: Ie0b65acfc51ae51001841d9943eee758fac8e73dchanges/90/14690/2
parent
1283b64104
commit
4586af55f5
@ -0,0 +1,9 @@
|
||||
use provisioning;
|
||||
set autocommit=0;
|
||||
|
||||
set @pid = 0;
|
||||
select id into @pid from voip_preferences where attribute = "lock";
|
||||
|
||||
update voip_preferences_enum set value = "0" where preference_id = @pid and label = 'none';
|
||||
|
||||
commit;
|
||||
@ -0,0 +1,9 @@
|
||||
use provisioning;
|
||||
set autocommit=0;
|
||||
|
||||
set @pid = 0;
|
||||
select id into @pid from voip_preferences where attribute = "lock";
|
||||
|
||||
update voip_preferences_enum set value = null where preference_id = @pid and label = 'none';
|
||||
|
||||
commit;
|
||||
Loading…
Reference in new issue