aboutsummaryrefslogtreecommitdiffstats
path: root/install/update.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-01-15 17:59:49 -0800
committerfriendica <info@friendica.com>2013-01-15 17:59:49 -0800
commit275fa6e1d26b4ce3090719c9b9d913ef1f2091a1 (patch)
tree4daceca2f1ac3c294e0e86ae776d41f01d2b3887 /install/update.php
parented275cd40d3462c302aa1b06a878630750928992 (diff)
downloadvolse-hubzilla-275fa6e1d26b4ce3090719c9b9d913ef1f2091a1.tar.gz
volse-hubzilla-275fa6e1d26b4ce3090719c9b9d913ef1f2091a1.tar.bz2
volse-hubzilla-275fa6e1d26b4ce3090719c9b9d913ef1f2091a1.zip
events backend heavy lifting - the new structure is slowly emerging.
Diffstat (limited to 'install/update.php')
-rw-r--r--install/update.php12
1 files changed, 11 insertions, 1 deletions
diff --git a/install/update.php b/install/update.php
index 63d65c89c..5479f1e26 100644
--- a/install/update.php
+++ b/install/update.php
@@ -1,6 +1,6 @@
<?php
-define( 'UPDATE_VERSION' , 1018 );
+define( 'UPDATE_VERSION' , 1019 );
/**
*
@@ -269,3 +269,13 @@ function update_r1017() {
return UPDATE_SUCCESS;
return UPDATE_FAILED;
}
+
+function update_r1018() {
+ $r = q("ALTER TABLE `event` ADD `event_hash` CHAR( 255 ) NOT NULL DEFAULT '' AFTER `event_xchan` ,
+ADD INDEX ( `event_hash` )");
+ if($r)
+ return UPDATE_SUCCESS;
+ return UPDATE_FAILED;
+}
+
+