salix/db/versions/.archive/10707-azureFern/00-firstScript.sql

5 lines
384 B
MySQL
Raw Normal View History

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';