Issue #1781510 by dawehner: Add update hook for renaming of cache tables.

8.0.x
dereine 2012-09-13 21:30:50 -04:00 committed by Tim Plunkett
parent c797ee38f5
commit 44a6b63e5a
1 changed files with 8 additions and 0 deletions

View File

@ -198,3 +198,11 @@ function views_update_8000() {
'views_display_extenders' => 'display_extenders',
));
}
/**
* Rename the {cache_views} and {cache_views_data} tables.
*/
function views_update_8001() {
db_rename_table('cache_views', 'cache_views_info');
db_rename_table('cache_views_data', 'cache_views_results');
}