From 44a6b63e5ad075890ca0d9ff9e3c5271450c19d9 Mon Sep 17 00:00:00 2001
From: dereine <dereine@99340.no-reply.drupal.org>
Date: Thu, 13 Sep 2012 21:30:50 -0400
Subject: [PATCH] Issue #1781510 by dawehner: Add update hook for renaming of
 cache tables.

---
 views.install | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/views.install b/views.install
index cdbeed1f68fc..29675f2dc914 100644
--- a/views.install
+++ b/views.install
@@ -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');
+}
-- 
GitLab