dump.sql 1.0 KB

12345678910111213141516171819202122232425262728
  1. CREATE TABLE `structure` (
  2. `id` bigint(20) unsigned NOT NULL auto_increment,
  3. `parent_id` bigint(20) unsigned NOT NULL,
  4. `position` bigint(20) unsigned NOT NULL,
  5. PRIMARY KEY (`id`),
  6. KEY `parent_id` (`parent_id`,`position`)
  7. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci ;
  8. CREATE TABLE `content` (
  9. `id` bigint(20) unsigned NOT NULL,
  10. `language` bigint(20) unsigned NOT NULL,
  11. `name` text collate utf8_unicode_ci NOT NULL,
  12. `data` longtext collate utf8_unicode_ci NOT NULL,
  13. PRIMARY KEY (`id`,`language`)
  14. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
  15. CREATE TABLE `languages` (
  16. `id` bigint(20) NOT NULL auto_increment,
  17. `code` varchar(2) collate utf8_unicode_ci NOT NULL,
  18. `name` varchar(255) collate utf8_unicode_ci NOT NULL,
  19. PRIMARY KEY (`id`),
  20. KEY `code` (`code`)
  21. ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=4 ;
  22. INSERT INTO `languages` (`id`, `code`, `name`) VALUES
  23. (1, 'en', 'English'),
  24. (2, 'de', 'German'),
  25. (3, 'fr', 'French');