/[drupal]/drupal/modules/filter/filter.install
ViewVC logotype

Diff of /drupal/modules/filter/filter.install

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

revision 1.23, Fri Oct 16 19:06:23 2009 UTC revision 1.24, Sat Nov 7 22:14:58 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: filter.install,v 1.22 2009/10/13 15:39:41 dries Exp $  // $Id: filter.install,v 1.23 2009/10/16 19:06:23 dries Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 97  function filter_schema() { Line 97  function filter_schema() {
97      'unique keys' => array(      'unique keys' => array(
98        'name' => array('name'),        'name' => array('name'),
99      ),      ),
100        'indexes' => array(
101          'weight' => array('weight'),
102        ),
103    );    );
104    
105    $schema['cache_filter'] = drupal_get_schema_unprocessed('system', 'cache');    $schema['cache_filter'] = drupal_get_schema_unprocessed('system', 'cache');
# Line 115  function filter_schema() { Line 118  function filter_schema() {
118   */   */
119  function filter_update_7000() {  function filter_update_7000() {
120    db_add_field('filter_formats', 'weight', array('type' => 'int', 'not null' => TRUE, 'default' => 0, 'size' => 'tiny'));    db_add_field('filter_formats', 'weight', array('type' => 'int', 'not null' => TRUE, 'default' => 0, 'size' => 'tiny'));
121      db_add_index('filter_formats', 'weight', array('weight'));
122  }  }
123    
124  /**  /**

Legend:
Removed from v.1.23  
changed lines
  Added in v.1.24

  ViewVC Help
Powered by ViewVC 1.1.2