/[drupal]/contributions/modules/ldap_integration/ldapauth.install
ViewVC logotype

Diff of /contributions/modules/ldap_integration/ldapauth.install

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

revision 1.19, Mon Jul 20 19:35:40 2009 UTC revision 1.20, Tue Oct 27 14:29:16 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: ldapauth.install,v 1.18 2009/05/03 21:58:12 miglius Exp $  // $Id: ldapauth.install,v 1.19 2009/07/20 19:35:40 miglius Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 112  function ldapauth_schema() { Line 112  function ldapauth_schema() {
112          'default' => 0,          'default' => 0,
113        ),        ),
114      ),      ),
115      'indexes' => array(      'primary key' => array('sid'),
116        'sid' => array('sid'),      'unique keys' => array('name' => array('name')),
     ),  
     'primary key' => array('name')  
117    );    );
118    return $schema;    return $schema;
119  }  }
# Line 167  function ldapauth_update_6002() { Line 165  function ldapauth_update_6002() {
165    return $ret;    return $ret;
166  }  }
167    
168    function ldapauth_update_6003() {
169      $ret = array();
170      db_drop_primary_key($ret, 'ldapauth');
171      db_change_field($ret, 'ldapauth', 'sid', 'sid', array('type' => 'serial', 'size' => 'tiny', 'not null' => TRUE), array('primary key' => array('sid')));
172      db_drop_index($ret, 'ldapauth', 'sid');
173      db_add_unique_key($ret, 'ldapauth', 'name', array('name'));
174      return $ret;
175    }
176    

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

  ViewVC Help
Powered by ViewVC 1.1.2