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/15025.up

14 lines
524 B

USE provisioning;
CREATE TABLE `voip_pbx_autoattendants` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`subscriber_id` int(11) unsigned NOT NULL,
`uuid` char(36) NOT NULL,
`choice` tinyint(3) NOT NULL,
`destination` varchar(255) NOT NULL,
PRIMARY KEY (`id`),
KEY `uuid_choice_idx` (`uuid`,`choice`),
KEY `fk_aa_sub_idx` (`subscriber_id`),
CONSTRAINT `voip_pbx_autoattendant_ibfk_1` FOREIGN KEY (`subscriber_id`) REFERENCES `voip_subscribers` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB;