TT#133301 Let 'voip_pbx_autoattendants.choice' be compatible with string literals

As the option to add default actions has been introduced for Auto-Attendant,
where we are using string literals as lables/values, we need to let the SQL
structure be compatible with this update.

Hence our customers will be able to set and then see the default action
in the Auto-Attendant menu for a subscriber.

Change-Id: I949d7b72c9211588389a64df9af49b0201587d87
mr10.0
Donat Zenichev 4 years ago
parent 6d4e00ebba
commit 04e28b605c

@ -0,0 +1,8 @@
USE provisioning;
SET autocommit=0;
DELETE FROM provisioning.voip_pbx_autoattendants WHERE choice = 'default';
ALTER TABLE provisioning.voip_pbx_autoattendants MODIFY choice TINYINT(3) NOT NULL;
COMMIT;

@ -0,0 +1,6 @@
USE provisioning;
SET autocommit=0;
ALTER TABLE provisioning.voip_pbx_autoattendants MODIFY choice VARCHAR(16) NOT NULL;
COMMIT;
Loading…
Cancel
Save