DROP TABLE IF EXISTS vn.packagingWithFreight; CREATE TABLE vn.`packagingWithFreight` ( `packagingFk` varchar(10) COLLATE utf8mb3_unicode_ci NOT NULL, `priority` int(11) NOT NULL, PRIMARY KEY (`packagingFk`), UNIQUE KEY `packagingWithFreight_UN` (`priority`), CONSTRAINT `packagingWithFreight_FK` FOREIGN KEY (`packagingFk`) REFERENCES `packaging` (`id`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci COMMENT='Embalajes con porte para encajado';