summaryrefslogtreecommitdiff
path: root/modules/update
diff options
context:
space:
mode:
Diffstat (limited to 'modules/update')
-rw-r--r--modules/update/update.install20
1 files changed, 18 insertions, 2 deletions
diff --git a/modules/update/update.install b/modules/update/update.install
index 5bc855847..417f8eeca 100644
--- a/modules/update/update.install
+++ b/modules/update/update.install
@@ -160,6 +160,11 @@ function _update_requirement_check($project, $type) {
}
/**
+ * @defgroup updates-6.x-to-7.x Filter updates from 6.x to 7.x
+ * @{
+ */
+
+/**
* Create a queue to store tasks for requests to fetch available update data.
*/
function update_update_7000() {
@@ -169,8 +174,19 @@ function update_update_7000() {
}
/**
- * Remove {cache_update}.headers column.
+ * Recreates cache_update table.
+ *
+ * Converts fields that hold serialized variables from text to blob.
+ * Removes 'headers' column.
*/
function update_update_7001() {
- db_drop_field('cache_update', 'headers');
+ $schema = system_schema_cache_7054();
+
+ db_drop_table('cache_update');
+ db_create_table('cache_update', $schema);
}
+
+/**
+ * @} End of "defgroup updates-6.x-to-7.x"
+ * The next series of updates should start at 8000.
+ */