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

Diff of /contributions/modules/bluga/bluga.install

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

revision 1.2, Mon Nov 2 07:11:38 2009 UTC revision 1.3, Sat Nov 7 21:49:42 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: bluga.install,v 1.1.4.1 2009/11/01 05:27:51 hanenkamp Exp $  // $Id: bluga.install,v 1.1.4.2 2009/11/07 21:47:01 hanenkamp Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 236  function bluga_install() { Line 236  function bluga_install() {
236    drupal_install_schema('bluga');    drupal_install_schema('bluga');
237  }  }
238    
239  // We don't drop the tables or remove cached files on uninstall  function bluga_update_6100() {
240      $ret = array();
241    
242      db_drop_primary_key($ret, 'bluga_request');
243      db_change_field($ret,
244        'bluga_request', 'rid', 'rid', array(
245          'type' => 'serial',
246          'unsigned' => TRUE,
247          'not null' => TRUE,
248        ),
249        array(
250          'primary key' => array('rid'),
251        )
252      );
253    
254      return $ret;
255    }

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.2