You are here

function coffee_update_7200 in Coffee 7.2

Make sure that the cache bin exists when upgrading from 1.x.

File

./coffee.install, line 31
Provides installation details for Coffee.

Code

function coffee_update_7200() {

  // Create the Coffee cache bin.
  if (!db_table_exists('cache_coffee')) {
    $schema = drupal_get_schema_unprocessed('system', 'cache');
    db_create_table('cache_coffee', $schema);
  }
}