Skip to content

Instantly share code, notes, and snippets.

@ashour
Last active March 25, 2020 12:23
Show Gist options
  • Save ashour/7d1e8e01773cef5a0c014c1703701d2a to your computer and use it in GitHub Desktop.
Save ashour/7d1e8e01773cef5a0c014c1703701d2a to your computer and use it in GitHub Desktop.
CREATE TABLE `articles_i18n_simple` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`published_at` datetime NOT NULL,
`title_en` varchar(2000) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`title_fr` varchar(2000) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`body_en` text COLLATE utf8mb4_unicode_ci,
`body_fr` text COLLATE utf8mb4_unicode_ci,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment