summaryrefslogtreecommitdiff
path: root/modules/system/system.install
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-06-29 16:52:11 +0000
committerDries Buytaert <dries@buytaert.net>2010-06-29 16:52:11 +0000
commit7640e03624f2242653143267f66fbfcca42656d8 (patch)
treec717e4ddcca3df90693679c18c3e9b1ee16d9766 /modules/system/system.install
parent73a961e2def8cce250811b438390a7ae8fe3af2e (diff)
downloadbrdo-7640e03624f2242653143267f66fbfcca42656d8.tar.gz
brdo-7640e03624f2242653143267f66fbfcca42656d8.tar.bz2
- Patch #690746 by Damien Tournoud, Stevel: avoid table descriptions from disappearing.
Diffstat (limited to 'modules/system/system.install')
-rw-r--r--modules/system/system.install8
1 files changed, 7 insertions, 1 deletions
diff --git a/modules/system/system.install b/modules/system/system.install
index 3bde2a9a0..b6bf9675c 100644
--- a/modules/system/system.install
+++ b/modules/system/system.install
@@ -2454,9 +2454,15 @@ function system_update_7054() {
// Update: update_fix_d7_requirements() installs this version for cache_path
// already, so we don't include it in this particular update. It should be
// included in later updates though.
- $cache_tables = array('cache', 'cache_form', 'cache_menu', 'cache_page');
+ $cache_tables = array(
+ 'cache' => 'Generic cache table for caching things not separated out into their own tables. Contributed modules may also use this to store cached items.',
+ 'cache_form' => 'Cache table for the form system to store recently built forms and their storage data, to be used in subsequent page requests.',
+ 'cache_page' => 'Cache table used to store compressed pages for anonymous users, if page caching is enabled.',
+ 'cache_menu' => 'Cache table for the menu system to store router information as well as generated link trees for various menu/page/user combinations.',
+ );
$schema = system_schema_cache_7054();
foreach ($cache_tables as $table => $description) {
+ $schema['description'] = $description;
db_drop_table($table);
db_create_table($table, $schema);
}