mirror of https://github.com/sipwise/db-schema.git
parent
d29fd9e3b1
commit
2d02fdcd30
@ -0,0 +1,5 @@
|
||||
USE provisioning;
|
||||
|
||||
SELECT id FROM voip_preferences WHERE attribute='outbound_socket' INTO @obs_pref_id;
|
||||
DELETE FROM voip_preferences_enum WHERE preference_id = @obs_pref_id;
|
||||
DELETE FROM voip_preferences WHERE id = @obs_pref_id;
|
@ -0,0 +1,5 @@
|
||||
USE provisioning;
|
||||
|
||||
INSERT INTO voip_preferences VALUES(NULL, 'outbound_socket', 0, 1, 1, 1, 1, now(), 0, 'enum', 0, 'Outbound socket to be used for SIP communication to this entity');
|
||||
SELECT last_insert_id() INTO @obs_pref_id;
|
||||
INSERT INTO voip_preferences_enum VALUES(NULL, @obs_pref_id, 'default', NULL, 1, 1, 1, 1);
|
Loading…
Reference in new issue