mirror of https://github.com/sipwise/db-schema.git
Remove libinewrate module selection for prepaid rating Change-Id: If6bc67e90d4cc22710c025d8a3c9eee205e46449mr11.0
parent
c00c330a5d
commit
c48aae5842
@ -0,0 +1,12 @@
|
||||
SET AUTOCOMMIT=0;
|
||||
|
||||
USE provisioning
|
||||
|
||||
SELECT id FROM voip_preferences where attribute='prepaid_library' INTO @pref_id;
|
||||
|
||||
INSERT INTO voip_preferences_enum
|
||||
(preference_id, label, value, usr_pref, dom_pref, peer_pref, contract_pref, default_val)
|
||||
VALUES
|
||||
(@pref_id, 'libinewrate', 'libinewrate', 0, 1, 0, 1, 0);
|
||||
|
||||
COMMIT;
|
@ -0,0 +1,9 @@
|
||||
SET AUTOCOMMIT=0;
|
||||
|
||||
USE provisioning
|
||||
|
||||
SELECT id FROM voip_preferences where attribute='prepaid_library' INTO @pref_id;
|
||||
|
||||
DELETE FROM voip_preferences_enum WHERE preference_id=@pref_id AND label="libinewrate";
|
||||
|
||||
COMMIT;
|
Loading…
Reference in new issue