[-] 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:
mDeflotte
2012-03-12 09:03:42 +00:00
parent 4715db87d1
commit 514b50cc83
2 changed files with 9 additions and 3 deletions

View File

@@ -696,9 +696,9 @@ CREATE TABLE `PREFIX_employee` (
`bo_width` int(10) unsigned NOT NULL DEFAULT 0,
`bo_show_screencast` tinyint(1) NOT NULL default '1',
`active` tinyint(1) unsigned NOT NULL default '0',
`id_last_order` tinyint(1) unsigned NOT NULL default '0',
`id_last_customer_message` tinyint(1) unsigned NOT NULL default '0',
`id_last_customer` tinyint(1) unsigned NOT NULL default '0',
`id_last_order` int(10) unsigned NOT NULL default '0',
`id_last_customer_message` int(10) unsigned NOT NULL default '0',
`id_last_customer` int(10) unsigned NOT NULL default '0',
PRIMARY KEY (`id_employee`),
KEY `employee_login` (`email`,`passwd`),
KEY `id_employee_passwd` (`id_employee`,`passwd`),

View File

@@ -1 +1,7 @@
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;