upgrade-0.0.1-0.0.2.php 803 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.
 */

$model = 'anc_image/ncimage';
$installer = $this;
$connection = $installer->getConnection();
$installer->startSetup();
/**
 * Neue Spalte für die Unterschrift als font wenn gesetzt muss der Buchstabe für das einbetten angegeben werden
 */
$installer->getConnection()
		->addColumn($installer->getTable('anc_image/ncimage'), 'issignature', Varien_Db_Ddl_Table::TYPE_TEXT, null, array(), 'Unterschrift');
$installer->getConnection()
		->addColumn($installer->getTable('anc_image/ncimage'), 'font', Varien_Db_Ddl_Table::TYPE_TEXT, null, array(), 'Schriftname');

?>