feat: add column department.pbxQueue refs #6987 #2140

Merged
juan merged 1 commits from 6387-add-department.pbxQueue into master 2024-03-06 15:47:06 +00:00
1 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,8 @@
ALTER TABLE vn.department
ADD COLUMN pbxQueue varchar(128) CHARACTER
SET utf8mb3 COLLATE utf8mb3_general_ci DEFAULT NULL NULL;
ALTER TABLE vn.department
ADD CONSTRAINT department_queue_FK
FOREIGN KEY (pbxQueue) REFERENCES pbx.queue(name) ON DELETE RESTRICT ON UPDATE CASCADE;