/[drupal]/contributions/modules/affiliates/affiliates.install
ViewVC logotype

Diff of /contributions/modules/affiliates/affiliates.install

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.1.4.2.2.5, Sat Jan 10 17:02:59 2009 UTC revision 1.1.4.2.2.6, Mon Mar 2 16:18:05 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: affiliates.install,v 1.1.4.2.2.4 2009/01/01 16:30:41 kbahey Exp $  // $Id: affiliates.install,v 1.1.4.2.2.5 2009/01/10 17:02:59 kbahey Exp $
3    
4  /**  /**
5   * Implementation of hook_install().   * Implementation of hook_install().
# Line 90  function affiliates_update_6001() { Line 90  function affiliates_update_6001() {
90    db_add_field($ret, 'affiliates_cats', 'weight', array('type' => 'int', 'length' => '3', 'not null' => TRUE, 'default' => 0));    db_add_field($ret, 'affiliates_cats', 'weight', array('type' => 'int', 'length' => '3', 'not null' => TRUE, 'default' => 0));
91    return $ret;    return $ret;
92  }  }
93    
94    function affiliates_update_6002() {
95            $ret = array();
96            db_change_field($ret, 'affiliates', 'referer', 'referer', array('type' => 'varchar', 'length' => '256', 'default' => NULL));
97            db_change_field($ret, 'affiliates_ads', 'anchor', 'anchor', array('type' => 'varchar', 'length' => '256', 'default' => NULL));
98            db_change_field($ret, 'affiliates_ads', 'redirect', 'redirect', array('type' => 'varchar', 'length' => '256', 'default' => NULL));
99      return $ret;
100    }

Legend:
Removed from v.1.1.4.2.2.5  
changed lines
  Added in v.1.1.4.2.2.6

  ViewVC Help
Powered by ViewVC 1.1.2