upgrade-0.1.0-0.1.1.php 952 Bytes
<?php
/** 
 * @copyright (c) 2014, netz.coop eG
 */

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */


$installer = $this;
$connection = $installer->getConnection();
$installer->startSetup();

/**
 * Neue Spalte Zeige in der Produktauswahl (Wenn kategorie geewählt wurde)
 */
$installer->getConnection()
		->addColumn($installer->getTable('anc_album/ncalbum'), 'categoryshowinproductselection',Varien_Db_Ddl_Table::TYPE_BOOLEAN,	null, array('default' => '1'), 'Zeige in der Produktauswahl ');
$installer->endSetup();
/**
 * Neue Spalte für die Werbeecke
 */
$installer->getConnection()
		->addColumn($installer->getTable('anc_album/ncalbum'), 'isadvertising', Varien_Db_Ddl_Table::TYPE_INTEGER, null, array('unsigned' => true, 'nullable' => false, 'default' => '0',), 'Gutscheinecke');
$installer->endSetup();

?>