aboutsummaryrefslogtreecommitdiffstats
path: root/install/update.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-01-15 16:48:59 -0800
committerfriendica <info@friendica.com>2013-01-15 16:48:59 -0800
commited275cd40d3462c302aa1b06a878630750928992 (patch)
treef49d9be934fef03e748fe5e9ad1f3bca52587e66 /install/update.php
parent482e0659c4f9525ba26a3b9344f39f8694e09304 (diff)
downloadvolse-hubzilla-ed275cd40d3462c302aa1b06a878630750928992.tar.gz
volse-hubzilla-ed275cd40d3462c302aa1b06a878630750928992.tar.bz2
volse-hubzilla-ed275cd40d3462c302aa1b06a878630750928992.zip
slow progress on events, one step forward, one step back.
Diffstat (limited to 'install/update.php')
-rw-r--r--install/update.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/install/update.php b/install/update.php
index c29a5fcea..63d65c89c 100644
--- a/install/update.php
+++ b/install/update.php
@@ -1,6 +1,6 @@
<?php
-define( 'UPDATE_VERSION' , 1017 );
+define( 'UPDATE_VERSION' , 1018 );
/**
*
@@ -262,3 +262,10 @@ function update_r1016() {
return UPDATE_SUCCESS;
return UPDATE_FAILED;
}
+
+function update_r1017() {
+ $r = q("ALTER TABLE `event` CHANGE `cid` `event_xchan` CHAR( 255 ) NOT NULL DEFAULT '', ADD INDEX ( `event_xchan` ), drop index cid ");
+ if($r)
+ return UPDATE_SUCCESS;
+ return UPDATE_FAILED;
+}