mirror of https://github.com/sipwise/db-schema.git
Set `type` to 0, accordingly to the enum values. Change-Id: Ic92956d33753b28d9bea7861f9b19f614869883cmr26.0
parent
c45dacc9e0
commit
3462244ec8
@ -0,0 +1,21 @@
|
||||
USE provisioning;
|
||||
SET autocommit=0;
|
||||
|
||||
SELECT id INTO @vp_id FROM voip_preferences
|
||||
WHERE attribute = 'call_log_level';
|
||||
|
||||
UPDATE voip_preferences
|
||||
SET type = 1
|
||||
WHERE id = @vp_id;
|
||||
|
||||
use kamailio;
|
||||
|
||||
UPDATE usr_preferences
|
||||
SET type = 1
|
||||
WHERE attribute = 'call_log_level';
|
||||
|
||||
UPDATE peer_preferences
|
||||
SET type = 1
|
||||
WHERE attribute = 'call_log_level';
|
||||
|
||||
COMMIT;
|
||||
@ -0,0 +1,21 @@
|
||||
USE provisioning;
|
||||
SET autocommit=0;
|
||||
|
||||
SELECT id INTO @vp_id FROM voip_preferences
|
||||
WHERE attribute = 'call_log_level';
|
||||
|
||||
UPDATE voip_preferences
|
||||
SET type = 0
|
||||
WHERE id = @vp_id;
|
||||
|
||||
use kamailio;
|
||||
|
||||
UPDATE usr_preferences
|
||||
SET type = 0
|
||||
WHERE attribute = 'call_log_level';
|
||||
|
||||
UPDATE peer_preferences
|
||||
SET type = 0
|
||||
WHERE attribute = 'call_log_level';
|
||||
|
||||
COMMIT;
|
||||
Loading…
Reference in new issue