getConnection(); /* @var $conn Varien_Db_Adapter_Pdo_Mysql */ $installer->addAttribute('quote_item', 'product_type', array()); $installer->addAttribute('order_item', 'product_type', array());