Fixed mysql color search issue. close #1
This commit is contained in:
parent
2bf64d1315
commit
7a9ff402ed
|
@ -12,9 +12,9 @@ CREATE TABLE `pl_comments` (
|
||||||
CREATE TABLE `pl_imagecolors` (
|
CREATE TABLE `pl_imagecolors` (
|
||||||
`id` int(11) NOT NULL auto_increment,
|
`id` int(11) NOT NULL auto_increment,
|
||||||
`imageId` int(11) NOT NULL,
|
`imageId` int(11) NOT NULL,
|
||||||
`r` tinyint(3) unsigned NOT NULL default '0',
|
`r` SMALLINT(3) NOT NULL default '0',
|
||||||
`g` tinyint(3) unsigned NOT NULL default '0',
|
`g` SMALLINT(3) NOT NULL default '0',
|
||||||
`b` tinyint(3) unsigned NOT NULL default '0',
|
`b` SMALLINT(3) NOT NULL default '0',
|
||||||
PRIMARY KEY (`id`)
|
PRIMARY KEY (`id`)
|
||||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user