diff options
Diffstat (limited to 'update.php')
-rw-r--r-- | update.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/update.php b/update.php index 80bd9771a..e71bd0ff6 100644 --- a/update.php +++ b/update.php @@ -18,6 +18,7 @@ $mysql_updates = array( "2001-11-04" => "update_9", "2001-11-17: distributed authentication" => "update_10", "2001-12-01" => "update_11", + "2001-12-06" => "update_12", ); // Update functions @@ -241,6 +242,11 @@ function update_11() { update_sql("ALTER TABLE users ADD session TEXT;"); } +function update_12() { + update_sql("ALTER TABLE book DROP revision;"); + update_sql("ALTER TABLE book ADD format tinyint(2) DEFAULT '0';"); +} + // System functions function update_sql($sql) { global $edit; |