I want to add a column to the sales_flat_quote_item
(and ..._order_item
) table through an install script, but when I go to the table sales_flat_quote_item
(or ..._order_item
) in my database - the column is not there.
The install script's version is 0.0.1. My config.xml
is also 0.0.1.
I have cleared the cache. I refreshed the back-end, so the script has ran.
Any clues?
$installer = $this;
$installer->startSetup();
$installer->getConnection()->addColumn($installer->getTable('sales/quote_item'), 'print_sku', "varchar NOT NULL");
$installer->getConnection()->addColumn($installer->getTable('sales/order_item'), 'print_sku', "varchar NOT NULL");
$installer->endSetup();