You are here

function libraries_update_7200 in Libraries API 7.2

Same name and namespace in other branches
  1. 7.3 libraries.install \libraries_update_7200()

Create the 'cache_libraries' table.

File

./libraries.install, line 20
Install, uninstall, and update functions for libraries.module.

Code

function libraries_update_7200() {

  // Note that previous versions of this function created the table with a
  // different table comment.
  if (!db_table_exists('cache_libraries')) {
    $specs = libraries_schema();
    db_create_table('cache_libraries', $specs['cache_libraries']);
  }
}