You are here

function session_cache_install in Session Cache API 6

Implements hook_install().

File

./session_cache.install, line 11
session_cache.install

Code

function session_cache_install() {
  if (!db_table_exists('cache_session_cache')) {
    $schema = drupal_get_schema_unprocessed('system', 'cache');
    $schema['description'] = 'Cache table for Session Cache API';
    db_create_table($ret, 'cache_session_cache', $schema);
  }
}