// added upgrade files (sql and php) in new installer

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12379 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
mMarinetti
2012-01-11 17:57:49 +00:00
parent c869ca4550
commit be2ee1b8da
157 changed files with 10495 additions and 0 deletions
+30
View File
@@ -0,0 +1,30 @@
/* STRUCTURE */
CREATE TABLE `PREFIX_product_sale` (
`id_product` INT( 10 ) UNSIGNED NOT NULL ,
`quantity` INT( 10 ) UNSIGNED NOT NULL DEFAULT '0',
`nb_vente` INT( 10 ) UNSIGNED NOT NULL DEFAULT '0',
`date_upd` DATE NOT NULL ,
PRIMARY KEY ( `id_product` )
) ENGINE = MYISAM DEFAULT CHARSET=utf8;
ALTER TABLE `PREFIX_image_type`
ADD `manufacturers` BOOL NOT NULL DEFAULT '1' AFTER `categories`;
ALTER TABLE `PREFIX_address`
ADD `id_manufacturer` INT( 10 ) UNSIGNED NOT NULL AFTER `id_customer` ;
ALTER TABLE `PREFIX_address`
ADD `id_supplier` INT( 10 ) UNSIGNED NOT NULL AFTER `id_manufacturer` ;
ALTER TABLE `PREFIX_order_discount`
ADD `id_discount` INT( 10 ) UNSIGNED NOT NULL AFTER `id_order` ;
ALTER TABLE `PREFIX_discount`
ADD `quantity_per_user` INT( 10 ) UNSIGNED NOT NULL DEFAULT '1' AFTER `quantity` ;
ALTER TABLE `PREFIX_contact` CHANGE `position` `position` TINYINT( 2 ) UNSIGNED NOT NULL DEFAULT '0';
/* CONTENTS */
/* CONFIGURATION VARIABLE */