photos_table.sql 1006 B

123456789101112131415161718192021222324252627282930
  1. # Dump of table lychee_photos
  2. # ------------------------------------------------------------
  3. CREATE TABLE IF NOT EXISTS `?` (
  4. `id` bigint(14) unsigned NOT NULL,
  5. `title` varchar(100) NOT NULL DEFAULT '',
  6. `description` varchar(1000) DEFAULT '',
  7. `url` varchar(100) NOT NULL,
  8. `tags` varchar(1000) NOT NULL DEFAULT '',
  9. `public` tinyint(1) NOT NULL,
  10. `type` varchar(10) NOT NULL,
  11. `width` int(11) NOT NULL,
  12. `height` int(11) NOT NULL,
  13. `size` varchar(20) NOT NULL,
  14. `iso` varchar(15) NOT NULL,
  15. `aperture` varchar(20) NOT NULL,
  16. `make` varchar(50) NOT NULL,
  17. `model` varchar(50) NOT NULL,
  18. `shutter` varchar(30) NOT NULL,
  19. `focal` varchar(20) NOT NULL,
  20. `takestamp` int(11) DEFAULT NULL,
  21. `star` tinyint(1) NOT NULL,
  22. `thumbUrl` char(37) NOT NULL,
  23. `album` bigint(20) unsigned NOT NULL,
  24. `checksum` char(40) DEFAULT NULL,
  25. `medium` tinyint(1) NOT NULL DEFAULT '0',
  26. PRIMARY KEY (`id`),
  27. KEY `Index_album` (`album`),
  28. KEY `Index_star` (`star`)
  29. ) ENGINE=MyISAM DEFAULT CHARSET=utf8;