aboutsummaryrefslogtreecommitdiffstats
path: root/update.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-05-01 01:16:47 -0700
committerfriendica <info@friendica.com>2012-05-01 01:16:47 -0700
commit584ac68ae4a230c7a61b2720be8bac3de34d68da (patch)
tree745b62f66fdf9662f38a3cebb34426cadd50c10e /update.php
parentf175af05f92384fab7adb75390a8aa52dc1bd7e1 (diff)
downloadvolse-hubzilla-584ac68ae4a230c7a61b2720be8bac3de34d68da.tar.gz
volse-hubzilla-584ac68ae4a230c7a61b2720be8bac3de34d68da.tar.bz2
volse-hubzilla-584ac68ae4a230c7a61b2720be8bac3de34d68da.zip
adding zrl support to social graphs
Diffstat (limited to 'update.php')
-rw-r--r--update.php13
1 files changed, 11 insertions, 2 deletions
diff --git a/update.php b/update.php
index f793b89dd..cce942f27 100644
--- a/update.php
+++ b/update.php
@@ -1,6 +1,6 @@
<?php
-define( 'UPDATE_VERSION' , 1141 );
+define( 'UPDATE_VERSION' , 1142 );
/**
*
@@ -1229,4 +1229,13 @@ function update_1140() {
if(! $r)
return UPDATE_FAILED ;
return UPDATE_SUCCESS ;
-} \ No newline at end of file
+}
+
+function update_1141() {
+ $r = q("alter table glink add zcid int(11) not null after gcid, add index(zcid) ");
+ if(! $r)
+ return UPDATE_FAILED ;
+ return UPDATE_SUCCESS ;
+}
+
+