Merge pull request 'feat: add column department.pbxQueue refs #6987' (!2140) from 6387-add-department.pbxQueue into master
gitea/salix/pipeline/head This commit looks good Details
gitea/salix/pipeline/pr-test This commit looks good Details

Reviewed-on: #2140
Reviewed-by: Juan Ferrer <juan@verdnatura.es>
This commit is contained in:
Juan Ferrer 2024-03-06 15:47:05 +00:00
commit f63dfb9a46
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;