This commit is contained in:
alexmorenograu 2021-05-13 15:29:54 +02:00
commit fb791d4e99
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
CREATE TABLE `workerShelving` (
CREATE TABLE vn.workerShelving (
`id` int(11) NOT NULL AUTO_INCREMENT,
`workerFk` int(11) NOT NULL,
`shelvingFk` varchar(10) CHARACTER SET utf8 NOT NULL,
@ -11,7 +11,7 @@ CREATE TABLE `workerShelving` (
CONSTRAINT `workerShelving_worker_fk` FOREIGN KEY (`workerFk`) REFERENCES `worker` (`id`),
CONSTRAINT `workerShelving_collection_fk` FOREIGN KEY (`collectionFk`) REFERENCES `collection` (`id`),
CONSTRAINT `workerShelving_shelving_fk` FOREIGN KEY (`shelvingFk`) REFERENCES `shelving` (`code`) ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='utilizaremos el id para establecer la prioridad de los carros a asignar'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='utilizaremos el id para establecer la prioridad de los carros a asignar';
CREATE TABLE `smartTag` (
`code` varchar(12) CHARACTER SET utf8 NOT NULL,