mirror of https://github.com/sipwise/db-schema.git
parent
9af45e6098
commit
bcf8e0f13a
@ -0,0 +1,10 @@
|
||||
USE provisioning;
|
||||
set autocommit=0;
|
||||
|
||||
SELECT id FROM voip_preferences WHERE attribute='outbound_socket' INTO @pref_id;
|
||||
|
||||
UPDATE voip_preferences SET usr_pref=0, dom_pref=0 WHERE id=@pref_id;
|
||||
DELETE FROM voip_usr_preferences WHERE attribute_id=@pref_id;
|
||||
DELETE FROM voip_dom_preferences WHERE attribute_id=@pref_id;
|
||||
|
||||
commit;
|
||||
Loading…
Reference in new issue