2014-04-05 16:30:24 +00:00
|
|
|
# Dump of table lychee_photos
|
|
|
|
# ------------------------------------------------------------
|
|
|
|
|
2014-08-29 21:08:18 +00:00
|
|
|
CREATE TABLE IF NOT EXISTS `?` (
|
2016-06-11 15:12:42 +00:00
|
|
|
`id` bigint(14) unsigned NOT NULL,
|
|
|
|
`title` varchar(100) NOT NULL DEFAULT '',
|
2014-04-05 16:30:24 +00:00
|
|
|
`description` varchar(1000) DEFAULT '',
|
|
|
|
`url` varchar(100) NOT NULL,
|
|
|
|
`tags` varchar(1000) NOT NULL DEFAULT '',
|
|
|
|
`public` tinyint(1) NOT NULL,
|
|
|
|
`type` varchar(10) NOT NULL,
|
|
|
|
`width` int(11) NOT NULL,
|
|
|
|
`height` int(11) NOT NULL,
|
|
|
|
`size` varchar(20) NOT NULL,
|
|
|
|
`iso` varchar(15) NOT NULL,
|
|
|
|
`aperture` varchar(20) NOT NULL,
|
2014-04-25 14:41:35 +00:00
|
|
|
`make` varchar(50) NOT NULL,
|
2014-04-05 16:30:24 +00:00
|
|
|
`model` varchar(50) NOT NULL,
|
|
|
|
`shutter` varchar(30) NOT NULL,
|
|
|
|
`focal` varchar(20) NOT NULL,
|
2014-04-11 22:38:34 +00:00
|
|
|
`takestamp` int(11) DEFAULT NULL,
|
2014-04-05 16:30:24 +00:00
|
|
|
`star` tinyint(1) NOT NULL,
|
2016-06-11 15:12:42 +00:00
|
|
|
`thumbUrl` char(37) NOT NULL,
|
|
|
|
`album` bigint(20) unsigned NOT NULL,
|
|
|
|
`checksum` char(40) DEFAULT NULL,
|
2014-10-11 14:09:10 +00:00
|
|
|
`medium` tinyint(1) NOT NULL DEFAULT '0',
|
2018-02-24 00:41:07 +00:00
|
|
|
`position` tinyint(1) NOT NULL,
|
2016-06-11 15:12:42 +00:00
|
|
|
PRIMARY KEY (`id`),
|
|
|
|
KEY `Index_album` (`album`),
|
|
|
|
KEY `Index_star` (`star`)
|
|
|
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|