00001 <?php
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027 $installer = $this;
00028 $this->startSetup();
00029 $this->run("
00030 ALTER TABLE `{$installer->getTable('sales_quote_item')}`
00031 MODIFY COLUMN `weight` DECIMAL(12,4) DEFAULT '0.0000',
00032 MODIFY COLUMN `discount_percent` DECIMAL(12,4) DEFAULT '0.0000',
00033 MODIFY COLUMN `discount_amount` DECIMAL(12,4) DEFAULT '0.0000',
00034 MODIFY COLUMN `tax_percent` DECIMAL(12,4) DEFAULT '0.0000',
00035 MODIFY COLUMN `tax_amount` DECIMAL(12,4) DEFAULT '0.0000',
00036 MODIFY COLUMN `row_total_with_discount` DECIMAL(12,4) DEFAULT '0.0000',
00037 MODIFY COLUMN `base_discount_amount` DECIMAL(12,4) DEFAULT '0.0000',
00038 MODIFY COLUMN `base_tax_amount` DECIMAL(12,4) DEFAULT '0.0000',
00039 MODIFY COLUMN `row_weight` DECIMAL(12,4) DEFAULT '0.0000';
00040 ");
00041 $this->endSetup();
00042 $this->installEntities();