1 book.install | book_update_1005() |
Creates the table to enable caching of Book navigation.
Related topics
File
- core/
modules/ book/ book.install, line 178 - Install, update and uninstall functions for the book module.
Code
function book_update_1005() {
$table = backdrop_get_schema_unprocessed('system', 'cache');
$table['description'] = "Cache table for Book to store book navigation data.";
if (db_table_exists('cache_book')) {
db_drop_table('cache_book');
}
db_create_table('cache_book', $table);
}