mirror of https://github.com/sipwise/db-schema.git
Set `type` to 0, accordingly to the enum values. (cherry picked from commit f078414f8dc48b380d462363103ad5400999254a) (cherry picked from commit 6b0e087a869c334d8da6e1fd182b2e830684780c) Change-Id: Ic92956d33753b28d9bea7861f9b19f614869883cmr14.1.1
parent
971e63051e
commit
51ba4b7f86
@ -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;
|
||||
File diff suppressed because it is too large
Load Diff
Loading…
Reference in new issue