You are here

function search_api_solr_update_7102 in Search API Solr 7

Create the Search API Solr cache table {cache_search_api_solr}.

File

./search_api_solr.install, line 114

Code

function search_api_solr_update_7102() {
  if (!db_table_exists('cache_search_api_solr')) {
    $table = drupal_get_schema_unprocessed('system', 'cache');
    $table['description'] = 'Cache table for the Search API Solr module to store various data related to Solr servers.';
    db_create_table('cache_search_api_solr', $table);
  }
}