aboutsummaryrefslogtreecommitdiffstats
path: root/update.php
diff options
context:
space:
mode:
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 ;
+}
+
+