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

Diff of /contributions/modules/image/image.install

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

revision 1.20, Sun Jan 18 04:32:57 2009 UTC revision 1.21, Sun Feb 1 00:36:43 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: image.install,v 1.19 2009/01/18 00:31:35 sun Exp $  // $Id: image.install,v 1.20 2009/01/18 04:32:57 sun Exp $
3    
4  /**  /**
5   * Implementation of hook_schema().   * Implementation of hook_schema().
# Line 295  function image_update_6100() { Line 295  function image_update_6100() {
295      'not null' => TRUE,      'not null' => TRUE,
296      'default' => 0,      'default' => 0,
297    ));    ));
298      db_drop_primary_key($ret, 'image');
299    db_add_primary_key($ret, 'image', array('nid', 'image_size'));    db_add_primary_key($ret, 'image', array('nid', 'image_size'));
300      db_drop_index($ret, 'image', 'image_fid');
301    db_add_index($ret, 'image', 'fid', array('fid'));    db_add_index($ret, 'image', 'fid', array('fid'));
302    return $ret;    return $ret;
303  }  }

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21

  ViewVC Help
Powered by ViewVC 1.1.2