test #3237
|
@ -6,7 +6,7 @@
|
||||||
ALTER TABLE vn.routeCommission ADD CONSTRAINT routeCommission_country_FK FOREIGN KEY (countryFk)
|
ALTER TABLE vn.routeCommission ADD CONSTRAINT routeCommission_country_FK FOREIGN KEY (countryFk)
|
||||||
REFERENCES vn.country(id) ON DELETE RESTRICT ON UPDATE CASCADE;
|
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,
|
`workCenterFk` INT(11) NOT NULL,
|
||||||
`deliveryManAdjustment` DECIMAL(4,2) DEFAULT NULL
|
`deliveryManAdjustment` DECIMAL(4,2) DEFAULT NULL
|
||||||
COMMENT 'Número de trabajadores para equilibrar los repartidores de diferentes centros.
|
COMMENT 'Número de trabajadores para equilibrar los repartidores de diferentes centros.
|
||||||
|
@ -18,7 +18,7 @@
|
||||||
`distributionCat5M3` DECIMAL(5,2) DEFAULT NULL
|
`distributionCat5M3` DECIMAL(5,2) DEFAULT NULL
|
||||||
COMMENT 'Comisión por gestión de la distribución Cat V',
|
COMMENT 'Comisión por gestión de la distribución Cat V',
|
||||||
PRIMARY KEY (`workCenterFk`),
|
PRIMARY KEY (`workCenterFk`),
|
||||||
CONSTRAINT `workCenterConfig_workCenterFk` FOREIGN KEY (`workCenterFk`)
|
CONSTRAINT `workCenterCommission_workCenterFk` FOREIGN KEY (`workCenterFk`)
|
||||||
REFERENCES `workCenter` (`id`) ON UPDATE CASCADE ON DELETE RESTRICT
|
REFERENCES `workCenter` (`id`) ON UPDATE CASCADE ON DELETE RESTRICT
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue