You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
db-schema/db_scripts/diff/15074.up

16 lines
354 B

USE provisioning;
-- not in use anymore
DELETE FROM voip_pbx_groups;
-- rework to be a mapping table instead
ALTER TABLE voip_pbx_groups
DROP COLUMN contract_id,
DROP COLUMN name,
DROP COLUMN extension,
DROP COLUMN hunt_policy,
DROP COLUMN hunt_policy_timeout,
ADD COLUMN group_id INT(11) UNSIGNED NOT NULL,
ADD KEY group_idx(group_id);