salix/db/changes/231601/00-newCompanyI18n.sql

10 lines
428 B
MySQL
Raw Normal View History

2023-03-22 13:54:59 +00:00
-- vn.companyI18n definition
2023-04-18 06:07:35 +00:00
CREATE TABLE `vn`.`companyI18n` (
2023-03-22 13:54:59 +00:00
`companyFk` smallint(5) unsigned NOT NULL,
`lang` char(2) CHARACTER SET utf8mb3 NOT NULL,
`footnotes` longtext COLLATE utf8mb3_unicode_ci DEFAULT NULL,
PRIMARY KEY (`companyFk`,`lang`),
CONSTRAINT `companyI18n_FK` FOREIGN KEY (`companyFk`) REFERENCES `company` (`id`) ON UPDATE CASCADE
2023-03-27 11:11:38 +00:00
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;