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

Diff of /contributions/modules/sidecontent/sidecontent.install

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

revision 1.4, Sun Apr 5 01:03:13 2009 UTC revision 1.5, Thu May 21 21:40:45 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: sidecontent.install,v 1.3.2.2 2007/07/03 22:55:25 MegaGrunt Exp $  // $Id: sidecontent.install,v 1.4 2009/04/05 01:03:13 MegaGrunt Exp $
3  /**  /**
4   * @file   * @file
5   * Update file for the Sidecontent module.   * Update file for the Sidecontent module.
# Line 48  function sidecontent_schema() { Line 48  function sidecontent_schema() {
48                'type' => 'text',                'type' => 'text',
49                'size' => 'big',                'size' => 'big',
50                'not null' => TRUE,                'not null' => TRUE,
         'default' => ''  
51              ),              ),
52      ),      ),
53      'indexes' => array(      'indexes' => array(
# Line 110  function sidecontent_update_3() { Line 109  function sidecontent_update_3() {
109    }    }
110    
111    return $ret;    return $ret;
112    }
113    
114    function sidecontent_update_6001() {
115      $ret = array();
116      // had mistakenly set a default on a text field
117            db_field_set_no_default($ret, 'sidecontent', 'sidecontent');
118      // Rebuild schema cache
119      drupal_get_schema('sidecontent', TRUE);
120      return $ret;
121  }  }
122    
123  /**  /**

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

  ViewVC Help
Powered by ViewVC 1.1.2