Révision b0dc3a2e
Ajouté par Julien Enselme il y a plus de 7 ans
drupal7/modules/user/user.install | ||
---|---|---|
49 | 49 |
'columns' => array('uid' => 'uid'), |
50 | 50 |
), |
51 | 51 |
), |
52 |
'indexes' => array( |
|
53 |
'uid_module' => array('uid', 'module'), |
|
54 |
), |
|
52 | 55 |
); |
53 | 56 |
|
54 | 57 |
$schema['role_permission'] = array( |
... | ... | |
910 | 913 |
} |
911 | 914 |
} |
912 | 915 |
|
916 |
/** |
|
917 |
* Ensure there is a combined index on {authmap}.uid and {authmap}.module. |
|
918 |
*/ |
|
919 |
function user_update_7019() { |
|
920 |
// Check first in case it was already added manually. |
|
921 |
if (!db_index_exists('authmap', 'uid_module')) { |
|
922 |
db_add_index('authmap', 'uid_module', array('uid', 'module')); |
|
923 |
} |
|
924 |
} |
|
913 | 925 |
/** |
914 | 926 |
* @} End of "addtogroup updates-7.x-extra". |
915 | 927 |
*/ |
Formats disponibles : Unified diff
Update to Drupal 7.52