From 4248c011f88c3b0f5ced2c1bb8752dbaeb23c01a Mon Sep 17 00:00:00 2001 From: pablone Date: Wed, 6 Mar 2024 14:59:00 +0100 Subject: [PATCH] feat(column): refs #6987 addNewReference --- db/versions/10938-azureSalal/00-firstScript.sql | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 db/versions/10938-azureSalal/00-firstScript.sql diff --git a/db/versions/10938-azureSalal/00-firstScript.sql b/db/versions/10938-azureSalal/00-firstScript.sql new file mode 100644 index 000000000..7b8a74eee --- /dev/null +++ b/db/versions/10938-azureSalal/00-firstScript.sql @@ -0,0 +1,5 @@ +-- Place your SQL code here +ALTER TABLE pbx.queue ADD IF NOT EXISTS departmentFk int(11) NULL; +ALTER TABLE pbx.queue ADD CONSTRAINT queue_department_FK FOREIGN KEY IF NOT EXISTS (departmentFk) REFERENCES vn.department(id); + + -- 2.40.1