TT#42261 add prepaid_library col to billing_profiles

Change-Id: Ib2a1466625165fb30e69f8c25edb475fb845c3c9
changes/53/22753/5
Rene Krenn 7 years ago
parent 110cbae0b3
commit 0a4421e807

@ -0,0 +1,9 @@
USE billing;
ALTER TABLE billing_profiles DROP COLUMN prepaid_library;
UPDATE provisioning.voip_preferences SET description = NULL
WHERE attribute = 'prepaid';
UPDATE provisioning.voip_preferences SET description = "The prepaid billing interface for customer with prepaid billing profile."
WHERE attribute = 'prepaid_library';

@ -0,0 +1,9 @@
USE billing;
ALTER TABLE billing_profiles ADD COLUMN prepaid_library ENUM('libswrate', 'libinewrate') NOT NULL DEFAULT 'libswrate';
UPDATE provisioning.voip_preferences SET description = "Deprecated, no longer used by the system."
WHERE attribute = 'prepaid';
UPDATE provisioning.voip_preferences SET description = CONCAT(description," Deprecated, no longer used by the system.")
WHERE attribute = 'prepaid_library';
Loading…
Cancel
Save