Révision 4f315dab
Ajouté par Assos Assos il y a environ 8 ans
drupal7/sites/all/modules/cas/cas.install | ||
---|---|---|
57 | 57 |
'unique keys' => array( |
58 | 58 |
'cas_name' => array('cas_name'), |
59 | 59 |
), |
60 |
|
|
61 |
'indexes' => array('cas_user' => array('uid')), |
|
60 | 62 |
'primary key' => array('aid'), |
61 | 63 |
'foreign keys' => array( |
62 | 64 |
'user' => array( |
... | ... | |
370 | 372 |
} |
371 | 373 |
variable_del('cas_check_first'); |
372 | 374 |
} |
375 |
|
|
376 |
/** |
|
377 |
* Add index on cas_user.uid |
|
378 |
*/ |
|
379 |
function cas_update_7102() { |
|
380 |
if (!db_index_exists('cas_user', 'cas_user')) { |
|
381 |
db_add_index('cas_user', 'cas_user', array('uid')); |
|
382 |
} |
|
383 |
} |
Formats disponibles : Unified diff
Weekly update of contrib modules