[-] BO : fixed bug #PSCFV-2714 - Product availability not upgraded

This commit is contained in:
vAugagneur
2012-06-07 09:30:18 +00:00
parent 2563a93845
commit 84f0f39537
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -44,3 +44,4 @@ UPDATE `PREFIX_employee`
UPDATE `PREFIX_category_shop` cs
SET `position` = (SELECT `position` FROM `PREFIX_category` c WHERE cs.`id_category` = c.`id_category`);
ALTER TABLE `PREFIX_stock_available` CHANGE `out_of_stock` `out_of_stock` INT(2) UNSIGNED NOT NULL DEFAULT '0';
+1 -1
View File
@@ -89,7 +89,7 @@ CREATE TABLE IF NOT EXISTS `PREFIX_stock_available` (
`id_group_shop` int(11) unsigned NOT NULL,
`quantity` int(10) NOT NULL DEFAULT '0',
`depends_on_stock` tinyint(1) unsigned NOT NULL DEFAULT '0',
`out_of_stock` tinyint(1) unsigned NOT NULL DEFAULT '0',
`out_of_stock` int(2) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id_stock_available`),
KEY `id_shop` (`id_shop`),
KEY `id_group_shop` (`id_group_shop`),