mirror of
https://github.com/ACSPRI/queXS
synced 2024-04-02 12:12:16 +00:00
Updated database for separate extension to operator
This commit is contained in:
24
CHANGELOG
24
CHANGELOG
@@ -1,3 +1,27 @@
|
||||
New Feature: Operators can choose extension
|
||||
|
||||
ALTER TABLE `operator` CHANGE `extension` `extension` VARCHAR( 10 ) CHARACTER SET utf8 COLLATE utf8_unicode_ci NULL DEFAULT NULL;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `extension` (
|
||||
`extension_id` int(11) NOT NULL AUTO_INCREMENT,
|
||||
`extension` char(10) COLLATE utf8_unicode_ci NOT NULL,
|
||||
`password` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
|
||||
`status` tinyint(1) NOT NULL DEFAULT '0',
|
||||
`current_operator_id` bigint(20) DEFAULT NULL,
|
||||
PRIMARY KEY (`extension_id`),
|
||||
UNIQUE KEY `extension` (`extension`),
|
||||
UNIQUE KEY `current_operator_id` (`current_operator_id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=1 ;
|
||||
|
||||
INSERT INTO `extension` (extension,password,current_operator_id,status)
|
||||
SELECT extension,extension_password,operator_id,voip_status
|
||||
FROM operator;
|
||||
|
||||
ALTER TABLE `operator`
|
||||
DROP `extension`,
|
||||
DROP `extension_password`,
|
||||
DROP `voip_status`;
|
||||
|
||||
queXS 1.9.1 - Changes since 1.9.0
|
||||
|
||||
New Feature: Add caseid to SPSS output
|
||||
|
||||
Reference in New Issue
Block a user