addAttribute('quote', 'subtotal', array('type'=>'decimal')); $installer->addAttribute('quote', 'base_subtotal', array('type'=>'decimal')); $installer->addAttribute('quote', 'subtotal_with_discount', array('type'=>'decimal')); $installer->addAttribute('quote', 'base_subtotal_with_discount', array('type'=>'decimal'));