aboutsummaryrefslogtreecommitdiffstats
path: root/install/update.php
diff options
context:
space:
mode:
Diffstat (limited to 'install/update.php')
-rw-r--r--install/update.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/install/update.php b/install/update.php
index 5479f1e26..a6fecbef5 100644
--- a/install/update.php
+++ b/install/update.php
@@ -1,6 +1,6 @@
<?php
-define( 'UPDATE_VERSION' , 1019 );
+define( 'UPDATE_VERSION' , 1020 );
/**
*
@@ -279,3 +279,9 @@ ADD INDEX ( `event_hash` )");
}
+function update_r1019() {
+ $r = q"ALTER TABLE `event` DROP `message_id` ");
+ if($r)
+ return UPDATE_SUCCESS;
+ return UPDATE_FAILED;
+}