summaryrefslogtreecommitdiff
path: root/update.php
diff options
context:
space:
mode:
Diffstat (limited to 'update.php')
-rw-r--r--update.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/update.php b/update.php
index 03761877a..608907404 100644
--- a/update.php
+++ b/update.php
@@ -57,7 +57,8 @@ $mysql_updates = array(
"2002-10-17" => "update_42",
"2002-10-26" => "update_43",
"2002-11-08" => "update_44",
- "2002-11-20" => "update_45"
+ "2002-11-20" => "update_45",
+ "2002-12-10" => "update_46"
);
// Update functions
@@ -636,6 +637,10 @@ function update_45() {
update_sql("ALTER TABLE page ADD description varchar(128) NOT NULL default ''");
}
+function update_46() {
+ update_sql("ALTER TABLE cache ADD created int(11) NOT NULL default '0'");
+}
+
function update_upgrade3() {
update_sql("INSERT INTO system VALUES ('archive.module','archive','module','',1)");
update_sql("INSERT INTO system VALUES ('block.module','block','module','',1)");