Updated tables

This commit is contained in:
Tobias Reich 2014-04-12 00:38:34 +02:00
parent cf9dc0ec2f
commit d38ef3b4c3
2 changed files with 2 additions and 4 deletions

View File

@ -6,7 +6,7 @@ CREATE TABLE IF NOT EXISTS `lychee_albums` (
`id` int(11) NOT NULL AUTO_INCREMENT, `id` int(11) NOT NULL AUTO_INCREMENT,
`title` varchar(50) NOT NULL, `title` varchar(50) NOT NULL,
`description` varchar(1000) DEFAULT '', `description` varchar(1000) DEFAULT '',
`sysdate` varchar(10) NOT NULL, `sysstamp` int(11) NOT NULL,
`public` tinyint(1) NOT NULL DEFAULT '0', `public` tinyint(1) NOT NULL DEFAULT '0',
`visible` tinyint(1) NOT NULL DEFAULT '1', `visible` tinyint(1) NOT NULL DEFAULT '1',
`password` varchar(100) DEFAULT '', `password` varchar(100) DEFAULT '',

View File

@ -19,11 +19,9 @@ CREATE TABLE IF NOT EXISTS `lychee_photos` (
`model` varchar(50) NOT NULL, `model` varchar(50) NOT NULL,
`shutter` varchar(30) NOT NULL, `shutter` varchar(30) NOT NULL,
`focal` varchar(20) NOT NULL, `focal` varchar(20) NOT NULL,
`takedate` varchar(20) NOT NULL, `takestamp` int(11) DEFAULT NULL,
`taketime` varchar(8) NOT NULL,
`star` tinyint(1) NOT NULL, `star` tinyint(1) NOT NULL,
`thumbUrl` varchar(50) NOT NULL, `thumbUrl` varchar(50) NOT NULL,
`album` varchar(30) NOT NULL DEFAULT '0', `album` varchar(30) NOT NULL DEFAULT '0',
`import_name` varchar(100) DEFAULT '',
PRIMARY KEY (`id`) PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci; ) ENGINE=MyISAM DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;