<?php

$cEav = new Mage_Catalog_Model_Resource_Eav_Mysql4_Setup('catalog_setup');
if (version_compare(Mage::getVersion(), '1.4.0', '>=')) {
    $cEav->updateAttribute('catalog_product', 'udropship_vendor', 'is_used_for_price_rules', 1);
}
<?php

$this->startSetup();
$c = $this->_conn;
$cEav = new Mage_Catalog_Model_Resource_Eav_Mysql4_Setup('catalog_setup');
$cEav->updateAttribute('catalog_product', 'udropship_vendor', 'is_required', 0);
$c->addColumn($this->getTable('udropship/vendor'), 'fax', 'varchar(50) after telephone');
$c->addColumn($this->getTable('udropship/vendor_shipping'), 'carrier_code', 'varchar(50)');
$c->addColumn($this->getTable('udropship/vendor_shipping'), 'est_carrier_code', 'varchar(50)');
$this->endSetup();
<?php

/* @var $installer Mage_Sales_Model_Entity_Setup */
$installer = $this;
$conn = $this->_conn;
$installer->startSetup();
$eav = new Mage_Catalog_Model_Resource_Eav_Mysql4_Setup('catalog_setup');
$eav->updateAttribute('catalog_product', 'udprod_attributes_changed', array('backend_model' => 'eav/entity_attribute_backend_serialized', 'source_model' => new Zend_Db_Expr('null')));
$eav->updateAttribute('catalog_product', 'udprod_cfg_simples_added', array('backend_model' => 'eav/entity_attribute_backend_serialized', 'source_model' => new Zend_Db_Expr('null')));
$eav->updateAttribute('catalog_product', 'udprod_cfg_simples_removed', array('backend_model' => 'eav/entity_attribute_backend_serialized', 'source_model' => new Zend_Db_Expr('null')));
$installer->endSetup();
<?php

/**
 * Unirgy LLC
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the EULA
 * that is bundled with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://www.unirgy.com/LICENSE-M1.txt
 *
 * @category   Unirgy
 * @package    Unirgy_Dropship
 * @copyright  Copyright (c) 2008-2009 Unirgy LLC (http://www.unirgy.com)
 * @license    http:///www.unirgy.com/LICENSE-M1.txt
 */
$this->startSetup();
$cEav = new Mage_Catalog_Model_Resource_Eav_Mysql4_Setup('catalog_setup');
$cEav->updateAttribute('catalog_product', 'udropship_vendor', 'frontend_input', 'udropship_vendor');
$this->_conn->addKey($this->getTable('udropship/vendor'), 'IDX_VENDOR_NAME', 'vendor_name');
$this->endSetup();
<?php

/* @var $installer Mage_Sales_Model_Entity_Setup */
$installer = $this;
$conn = $this->_conn;
$installer->startSetup();
$eav = new Mage_Catalog_Model_Resource_Eav_Mysql4_Setup('catalog_setup');
$eav->updateAttribute('catalog_product', 'udprod_attributes_changed', array('is_required' => 0, 'is_visible' => 0));
$eav->updateAttribute('catalog_product', 'udprod_cfg_simples_added', array('is_required' => 0, 'is_visible' => 0));
$eav->updateAttribute('catalog_product', 'udprod_cfg_simples_removed', array('is_required' => 0, 'is_visible' => 0));
$installer->endSetup();