1 user.install | user_update_1016() |
Creates the table to enable caching of User entities.
Related topics
File
- core/
modules/ user/ user.install, line 1226 - Install, update and uninstall functions for the user module.
Code
function user_update_1016() {
$table = backdrop_get_schema_unprocessed('system', 'cache');
$table['description'] = "Cache table used to store User entity records.";
if (db_table_exists('cache_entity_user')) {
db_drop_table('cache_entity_user');
}
db_create_table('cache_entity_user', $table);
}