aboutsummaryrefslogtreecommitdiffstats
path: root/install/update.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-06-19 18:06:14 -0700
committerfriendica <info@friendica.com>2013-06-19 18:06:14 -0700
commit4f06905a186252327e7446b8767889dc37aff9fc (patch)
treeb2bd48b4c45d2e540ac51a846aab5f3d2813197b /install/update.php
parent9d03da134807a55c74a5b15895356dc8990f01db (diff)
downloadvolse-hubzilla-4f06905a186252327e7446b8767889dc37aff9fc.tar.gz
volse-hubzilla-4f06905a186252327e7446b8767889dc37aff9fc.tar.bz2
volse-hubzilla-4f06905a186252327e7446b8767889dc37aff9fc.zip
infrastructure for future stuff
Diffstat (limited to 'install/update.php')
-rw-r--r--install/update.php10
1 files changed, 9 insertions, 1 deletions
diff --git a/install/update.php b/install/update.php
index 787c1d542..ba5ec0262 100644
--- a/install/update.php
+++ b/install/update.php
@@ -1,6 +1,6 @@
<?php
-define( 'UPDATE_VERSION' , 1044 );
+define( 'UPDATE_VERSION' , 1045 );
/**
*
@@ -548,3 +548,11 @@ ADD INDEX ( `comment_policy` ) ");
return UPDATE_SUCCESS;
return UPDATE_FAILED;
}
+
+function update_r1044() {
+ $r = q("ALTER TABLE `term` ADD `imgurl` CHAR( 255 ) NOT NULL ,
+ADD INDEX ( `imgurl` ) ");
+ if($r)
+ return UPDATE_SUCCESS;
+ return UPDATE_FAILED;
+}