mirror of https://github.com/sipwise/db-schema.git
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: I949d7b72c9211588389a64df9af49b0201587d87mr10.0
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…
Reference in new issue