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