// Installer: remove id_product_attribute from product_download

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15059 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
tDidierjean
2012-05-03 15:54:58 +00:00
parent da26e0301c
commit 2e2e7b9897
+1 -3
View File
@@ -1472,7 +1472,6 @@ CREATE TABLE `PREFIX_product_attribute_image` (
CREATE TABLE `PREFIX_product_download` (
`id_product_download` int(10) unsigned NOT NULL AUTO_INCREMENT,
`id_product` int(10) unsigned NOT NULL,
`id_product_attribute` int(10) unsigned NOT NULL,
`display_filename` varchar(255) DEFAULT NULL,
`filename` varchar(255) DEFAULT NULL,
`date_add` datetime NOT NULL,
@@ -1482,8 +1481,7 @@ CREATE TABLE `PREFIX_product_download` (
`active` tinyint(1) unsigned NOT NULL DEFAULT '1',
`is_shareable` tinyint(1) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`id_product_download`),
KEY `product_active` (`id_product`,`active`),
KEY `id_product_attribute` (`id_product_attribute`)
KEY `product_active` (`id_product`,`active`)
) ENGINE=ENGINE_TYPE DEFAULT CHARSET=utf8;
CREATE TABLE `PREFIX_product_lang` (