10 lines
589 B
MySQL
10 lines
589 B
MySQL
|
USE vn;
|
||
|
CREATE TABLE `vn`.`glsExpedition` (
|
||
|
`expeditionFk` int(11) NOT NULL,
|
||
|
`barcode` varchar(20) DEFAULT NULL,
|
||
|
`uid` varchar(45) DEFAULT NULL COMMENT 'Valor retornado por GLS al hacer pertición al webservice',
|
||
|
`codexp` int(11) DEFAULT NULL COMMENT 'Valor retornado por GLS al hacer pertición al webservice',
|
||
|
`created` timestamp NOT NULL DEFAULT current_timestamp(),
|
||
|
PRIMARY KEY (`expeditionFk`),
|
||
|
CONSTRAINT `glsExpedition_FK` FOREIGN KEY (`expeditionFk`) REFERENCES `expedition` (`id`) ON DELETE CASCADE
|
||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;
|