Fixed mysql color search issue. close #1

This commit is contained in:
Dominic Szablewski 2013-09-05 16:27:00 +02:00
parent 2bf64d1315
commit 7a9ff402ed

View File

@ -12,9 +12,9 @@ CREATE TABLE `pl_comments` (
CREATE TABLE `pl_imagecolors` (
`id` int(11) NOT NULL auto_increment,
`imageId` int(11) NOT NULL,
`r` tinyint(3) unsigned NOT NULL default '0',
`g` tinyint(3) unsigned NOT NULL default '0',
`b` tinyint(3) unsigned NOT NULL default '0',
`r` SMALLINT(3) NOT NULL default '0',
`g` SMALLINT(3) NOT NULL default '0',
`b` SMALLINT(3) NOT NULL default '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;