5 lines
384 B
MySQL
5 lines
384 B
MySQL
|
CREATE TABLE `vn`.`salesPersonProtected` (
|
||
|
`salesPersonFk` int(10) unsigned NOT NULL,
|
||
|
PRIMARY KEY (`salesPersonFk`),
|
||
|
CONSTRAINT `salesPersonProtected_FK` FOREIGN KEY (`salesPersonFk`) REFERENCES `worker` (`id`) ON UPDATE CASCADE
|
||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci COMMENT='Lista de comerciales que no se desasignarán automáticamente los clientes';
|