[-] CORE : fixed bug #PSCFV-4754 field name in image_type was too short

This commit is contained in:
vAugagneur
2013-01-07 14:08:08 +01:00
parent 755349ef95
commit b83ab4dc4b
3 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -894,7 +894,7 @@ CREATE TABLE `PREFIX_image_lang` (
CREATE TABLE `PREFIX_image_type` (
`id_image_type` int(10) unsigned NOT NULL auto_increment,
`name` varchar(16) NOT NULL,
`name` varchar(64) NOT NULL,
`width` int(10) unsigned NOT NULL,
`height` int(10) unsigned NOT NULL,
`products` tinyint(1) NOT NULL default '1',
+2
View File
@@ -1,3 +1,5 @@
SET NAMES 'utf8';
UPDATE `PREFIX_meta` SET `page` = 'supplier' WHERE `page` = 'supply';
ALTER TABLE `PREFIX_image_type` CHANGE `name` `name` VARCHAR( 64 ) NOT NULL;