9 lines
378 B
MySQL
9 lines
378 B
MySQL
|
CREATE TABLE vn.chronopostExpedition (
|
||
|
expeditionFk int(11) NOT NULL,
|
||
|
skybillNumber varchar(20) NOT NULL COMMENT 'Código devuelto por chronopost',
|
||
|
PRIMARY KEY (`expeditionFk`),
|
||
|
CONSTRAINT chronopostExpedition_FK FOREIGN KEY (expeditionFk) REFERENCES vn.expedition(id) ON DELETE RESTRICT ON UPDATE RESTRICT
|
||
|
)
|
||
|
ENGINE=InnoDB
|
||
|
DEFAULT CHARSET=utf8mb3
|
||
|
COLLATE=utf8mb3_unicode_ci;
|