[-] BO : #PSFV-645 - Fields id_last_customer, id_last_customer_message and id_last_order of table ps_employee table must be int(10) and not tinyint.
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@14026 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -696,9 +696,9 @@ CREATE TABLE `PREFIX_employee` (
|
|||||||
`bo_width` int(10) unsigned NOT NULL DEFAULT 0,
|
`bo_width` int(10) unsigned NOT NULL DEFAULT 0,
|
||||||
`bo_show_screencast` tinyint(1) NOT NULL default '1',
|
`bo_show_screencast` tinyint(1) NOT NULL default '1',
|
||||||
`active` tinyint(1) unsigned NOT NULL default '0',
|
`active` tinyint(1) unsigned NOT NULL default '0',
|
||||||
`id_last_order` tinyint(1) unsigned NOT NULL default '0',
|
`id_last_order` int(10) unsigned NOT NULL default '0',
|
||||||
`id_last_customer_message` tinyint(1) unsigned NOT NULL default '0',
|
`id_last_customer_message` int(10) unsigned NOT NULL default '0',
|
||||||
`id_last_customer` tinyint(1) unsigned NOT NULL default '0',
|
`id_last_customer` int(10) unsigned NOT NULL default '0',
|
||||||
PRIMARY KEY (`id_employee`),
|
PRIMARY KEY (`id_employee`),
|
||||||
KEY `employee_login` (`email`,`passwd`),
|
KEY `employee_login` (`email`,`passwd`),
|
||||||
KEY `id_employee_passwd` (`id_employee`,`passwd`),
|
KEY `id_employee_passwd` (`id_employee`,`passwd`),
|
||||||
|
|||||||
@@ -1 +1,7 @@
|
|||||||
SET NAMES 'utf8';
|
SET NAMES 'utf8';
|
||||||
|
|
||||||
|
ALTER TABLE `PREFIX_employee`
|
||||||
|
MODIFY COLUMN `id_last_order` INT(10) UNSIGNED NOT NULL DEFAULT 0,
|
||||||
|
MODIFY COLUMN `id_last_customer_message` INT(10) UNSIGNED NOT NULL DEFAULT 0,
|
||||||
|
MODIFY COLUMN `id_last_customer` INT(10) UNSIGNED NOT NULL DEFAULT 0;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user