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); + +