Révision 6ff32cea
Ajouté par Florent Torregrosa il y a environ 9 ans
drupal7/modules/user/user.install | ||
---|---|---|
81 | 81 |
), |
82 | 82 |
'foreign keys' => array( |
83 | 83 |
'role' => array( |
84 |
'table' => 'roles',
|
|
84 |
'table' => 'role', |
|
85 | 85 |
'columns' => array('rid' => 'rid'), |
86 | 86 |
), |
87 | 87 |
), |
... | ... | |
278 | 278 |
'columns' => array('uid' => 'uid'), |
279 | 279 |
), |
280 | 280 |
'role' => array( |
281 |
'table' => 'roles',
|
|
281 |
'table' => 'role', |
|
282 | 282 |
'columns' => array('rid' => 'rid'), |
283 | 283 |
), |
284 | 284 |
), |
... | ... | |
356 | 356 |
'filter' => 7000, |
357 | 357 |
); |
358 | 358 |
|
359 |
// user_update_7012() uses the file API, which relies on the {file_managed} |
|
360 |
// table, so it must run after system_update_7034(), which creates that |
|
361 |
// table. |
|
359 |
// user_update_7012() uses the file API and inserts records into the |
|
360 |
// {file_managed} table, so it therefore must run after system_update_7061(), |
|
361 |
// which inserts files with specific IDs into the table and therefore relies |
|
362 |
// on the table being empty (otherwise it would accidentally overwrite |
|
363 |
// existing records). |
|
362 | 364 |
$dependencies['user'][7012] = array( |
363 |
'system' => 7034,
|
|
365 |
'system' => 7061,
|
|
364 | 366 |
); |
365 | 367 |
|
366 | 368 |
// user_update_7013() uses the file usage API, which relies on the |
Formats disponibles : Unified diff
Update core to 7.36