[-] BO : fixed bug #PSCFV-2714 - Product availability not upgraded
This commit is contained in:
@@ -44,3 +44,4 @@ UPDATE `PREFIX_employee`
|
|||||||
UPDATE `PREFIX_category_shop` cs
|
UPDATE `PREFIX_category_shop` cs
|
||||||
SET `position` = (SELECT `position` FROM `PREFIX_category` c WHERE cs.`id_category` = c.`id_category`);
|
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';
|
||||||
@@ -89,7 +89,7 @@ CREATE TABLE IF NOT EXISTS `PREFIX_stock_available` (
|
|||||||
`id_group_shop` int(11) unsigned NOT NULL,
|
`id_group_shop` int(11) unsigned NOT NULL,
|
||||||
`quantity` int(10) NOT NULL DEFAULT '0',
|
`quantity` int(10) NOT NULL DEFAULT '0',
|
||||||
`depends_on_stock` tinyint(1) unsigned 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`),
|
PRIMARY KEY (`id_stock_available`),
|
||||||
KEY `id_shop` (`id_shop`),
|
KEY `id_shop` (`id_shop`),
|
||||||
KEY `id_group_shop` (`id_group_shop`),
|
KEY `id_group_shop` (`id_group_shop`),
|
||||||
|
|||||||
Reference in New Issue
Block a user