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