Removed deprecated foreign key
This commit is contained in:
parent
5b23ee6d5a
commit
e7883d1c59
|
@ -22282,7 +22282,7 @@ CREATE TABLE `agency` (
|
|||
`name` varchar(25) COLLATE utf8mb3_unicode_ci NOT NULL,
|
||||
`warehouseFk` smallint(5) unsigned DEFAULT NULL COMMENT 'A nulo si se puede enrutar desde todos los almacenes',
|
||||
`isVolumetric__` tinyint(4) NOT NULL DEFAULT 0 COMMENT 'Si el calculo del porte se hacer por volumen',
|
||||
`bankFk__` int(11) NOT NULL DEFAULT 8 COMMENT 'para realizar los reembolsos',
|
||||
`bankFk__` int(11) DEFAULT 8 COMMENT 'para realizar los reembolsos',
|
||||
`warehouseAliasFk` smallint(5) unsigned DEFAULT NULL,
|
||||
`isOwn` tinyint(1) NOT NULL DEFAULT 0,
|
||||
`labelZone__` tinyint(4) NOT NULL DEFAULT 0,
|
||||
|
@ -22297,7 +22297,6 @@ CREATE TABLE `agency` (
|
|||
KEY `agency_ibfk_4_idx` (`supplierFk__`),
|
||||
CONSTRAINT `agency_FK` FOREIGN KEY (`warehouseAliasFk`) REFERENCES `warehouseAlias` (`id`) ON UPDATE CASCADE,
|
||||
CONSTRAINT `agency_ibfk_1` FOREIGN KEY (`warehouseFk`) REFERENCES `warehouse` (`id`) ON UPDATE CASCADE,
|
||||
CONSTRAINT `agency_ibfk_2` FOREIGN KEY (`bankFk__`) REFERENCES `accounting` (`id`) ON UPDATE CASCADE,
|
||||
CONSTRAINT `agency_ibfk_3` FOREIGN KEY (`workCenterFk`) REFERENCES `workCenter` (`id`) ON UPDATE CASCADE
|
||||
) ENGINE=InnoDBDEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;
|
||||
/*!40101 SET character_set_client = @saved_cs_client */;
|
||||
|
|
Loading…
Reference in New Issue