// changing name "available_date_combi" to "available_date" and some features

This commit is contained in:
vChabot
2011-09-13 14:52:42 +00:00
parent e4b39b4263
commit 95d5d50af4
11 changed files with 40 additions and 35 deletions
+1 -1
View File
@@ -1210,7 +1210,7 @@ CREATE TABLE `PREFIX_product_attribute` (
`unit_price_impact` decimal(17,2) NOT NULL default '0.00',
`default_on` tinyint(1) unsigned NOT NULL default '0',
`minimal_quantity` int(10) unsigned NOT NULL DEFAULT '1',
`available_date_combi` datetime NOT NULL,
`available_date` datetime NOT NULL,
PRIMARY KEY (`id_product_attribute`),
KEY `product_attribute_product` (`id_product`),
KEY `reference` (`reference`),
+2 -2
View File
@@ -72,6 +72,6 @@ INSERT INTO `PREFIX_configuration` (`name`, `value`, `date_add`, `date_upd`) VAL
('PS_FEATURE_FEATURE_ACTIVE', '1', NOW(), NOW()),
('PS_COMBINATION_FEATURE_ACTIVE', '1', NOW(), NOW());
ALTER TABLE `PREFIX_product` ADD `available_date` DATETIME NOT NULL AFTER `available_for_order`
ALTER TABLE `PREFIX_product` ADD `available_date` DATETIME NOT NULL AFTER `available_for_order`;
ALTER TABLE `ps_product_attribute` ADD `available_date_combi` DATETIME NOT NULL
ALTER TABLE `PREFIX_product_attribute` ADD `available_date` DATETIME NOT NULL;