1 file.install file_update_1008()

Creates the table to enable caching of Comment entities.

File

core/modules/file/file.install, line 1210
Install, update and uninstall functions for File module.

Code

function file_update_1008() {
  $table = backdrop_get_schema_unprocessed('system', 'cache');
  $table['description'] = "Cache table used to store File entity records.";
  if (db_table_exists('cache_entity_file')) {
    db_drop_table('cache_entity_file');
  }
  db_create_table('cache_entity_file', $table);
}