aboutsummaryrefslogtreecommitdiffstats
path: root/install/update.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-06-27 19:35:59 -0700
committerfriendica <info@friendica.com>2013-06-27 19:35:59 -0700
commitcdc66da52fb985c33e27b955324dd977830a1d8c (patch)
tree6896bf8d57b224231ec2a8c9fe4b84893b883cd3 /install/update.php
parent230aeb782eaea85626640d14f5949606de73d502 (diff)
downloadvolse-hubzilla-cdc66da52fb985c33e27b955324dd977830a1d8c.tar.gz
volse-hubzilla-cdc66da52fb985c33e27b955324dd977830a1d8c.tar.bz2
volse-hubzilla-cdc66da52fb985c33e27b955324dd977830a1d8c.zip
Basic ability to create "things"
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 c57b8562e..ee95b7e01 100644
--- a/install/update.php
+++ b/install/update.php
@@ -1,6 +1,6 @@
<?php
-define( 'UPDATE_VERSION' , 1046 );
+define( 'UPDATE_VERSION' , 1047 );
/**
*
@@ -565,3 +565,10 @@ ADD INDEX ( `site_register` ) ");
return UPDATE_FAILED;
}
+function update_r1046() {
+ $r = q("ALTER TABLE `term` ADD `term_hash` CHAR( 255 ) NOT NULL DEFAULT '',
+ADD INDEX ( `term_hash` ) ");
+ if($r)
+ return UPDATE_SUCCESS;
+ return UPDATE_FAILED;
+}