// Update DB for download product

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8646 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
jmCollin
2011-09-19 14:54:30 +00:00
parent a07a7f93cc
commit 7c45913536
2 changed files with 18 additions and 10 deletions
+5
View File
@@ -142,3 +142,8 @@ ALTER TABLE `PREFIX_customer_message` ADD `private` TINYINT NOT NULL DEFAULT
ALTER TABLE `PREFIX_attribute` ADD `position` INT( 10 ) UNSIGNED NOT NULL DEFAULT '0';
/* PHP:add_attribute_position(); */;
ALTER TABLE `PREFIX_product_download` CHANGE `date_deposit` `date_add` DATETIME NOT NULL ;
ALTER TABLE `PREFIX_product_download` CHANGE `physically_filename` `filename` VARCHAR( 255 ) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL;
ALTER TABLE `PREFIX_product_download` ADD `id_product_attribute` INT( 10 ) UNSIGNED NOT NULL AFTER `id_product` , ADD INDEX ( `id_product_attribute` );
ALTER TABLE `PREFIX_product_download` ADD `is_shareable` TINYINT( 1 ) UNSIGNED NOT NULL DEFAULT '0' AFTER `active`