You are here

function token_update_7000 in Token 7

Add the cache_token table.

File

./token.install, line 48
Install, update and uninstall functions for the token module.

Code

function token_update_7000() {
  if (!db_table_exists('cache_token')) {
    $schema = drupal_get_schema_unprocessed('system', 'cache');
    $schema['description'] = 'Cache table for token information.';
    db_create_table('cache_token', $schema);
  }
}