summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--update.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/update.php b/update.php
index 3c1f0c078..31899188f 100644
--- a/update.php
+++ b/update.php
@@ -45,7 +45,8 @@ $mysql_updates = array(
"2002-01-05" => "update_18",
"2002-01-17" => "update_19",
"2002-01-27" => "update_20",
- "2002-01-30" => "update_21"
+ "2002-01-30" => "update_21",
+ "2002-02-19" => "update_22"
);
// Update functions
@@ -327,6 +328,10 @@ function update_21() {
update_sql("ALTER TABLE node ADD static int(2) DEFAULT '0' NOT NULL;");
}
+function update_22() {
+ update_sql("ALTER TABLE cache MODIFY data MEDIUMTEXT;");
+}
+
/*
** System functions
*/