salix/db/versions/.archive/10538-silverAspidistra/02-createChronopostExpediti...

9 lines
378 B
MySQL
Raw Normal View History

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;