From 52364bbe2d27ed28a5f495a5bbaa4e59cd8eb7c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Andr=C3=A9s?= Date: Thu, 21 Nov 2024 18:44:47 +0100 Subject: [PATCH] feat: refs #8124 Enrutadores nuevos requerimientos --- db/versions/11358-maroonPhormium/00-firstScript.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/db/versions/11358-maroonPhormium/00-firstScript.sql b/db/versions/11358-maroonPhormium/00-firstScript.sql index 5bfe78f55..88762e5aa 100644 --- a/db/versions/11358-maroonPhormium/00-firstScript.sql +++ b/db/versions/11358-maroonPhormium/00-firstScript.sql @@ -6,7 +6,7 @@ ALTER TABLE vn.routeCommission ADD CONSTRAINT routeCommission_country_FK FOREIGN KEY (countryFk) REFERENCES vn.country(id) ON DELETE RESTRICT ON UPDATE CASCADE; - CREATE TABLE IF NOT EXISTS vn.workCenterConfig ( + CREATE TABLE IF NOT EXISTS vn.workCenterCommission ( `workCenterFk` INT(11) NOT NULL, `deliveryManAdjustment` DECIMAL(4,2) DEFAULT NULL COMMENT 'Número de trabajadores para equilibrar los repartidores de diferentes centros. @@ -18,7 +18,7 @@ `distributionCat5M3` DECIMAL(5,2) DEFAULT NULL COMMENT 'Comisión por gestión de la distribución Cat V', PRIMARY KEY (`workCenterFk`), - CONSTRAINT `workCenterConfig_workCenterFk` FOREIGN KEY (`workCenterFk`) + CONSTRAINT `workCenterCommission_workCenterFk` FOREIGN KEY (`workCenterFk`) REFERENCES `workCenter` (`id`) ON UPDATE CASCADE ON DELETE RESTRICT );