diff --git a/db/db.sql b/db/db.sql index cc2a317..ee105d6 100644 --- a/db/db.sql +++ b/db/db.sql @@ -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,