aboutsummaryrefslogtreecommitdiffstats
path: root/install/update.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-09-17 22:27:51 -0700
committerfriendica <info@friendica.com>2013-09-17 22:27:51 -0700
commitd3aa31be4d84764e4d119343d8bc5eba5a84272b (patch)
tree68522f122490ecf1971c9f2ebff1c8340466cb7f /install/update.php
parentff2ada207a7c90f095d1fad1513440eb08d3840a (diff)
downloadvolse-hubzilla-d3aa31be4d84764e4d119343d8bc5eba5a84272b.tar.gz
volse-hubzilla-d3aa31be4d84764e4d119343d8bc5eba5a84272b.tar.bz2
volse-hubzilla-d3aa31be4d84764e4d119343d8bc5eba5a84272b.zip
site sellpage links
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 24aed374d..3c40ee0c5 100644
--- a/install/update.php
+++ b/install/update.php
@@ -1,6 +1,6 @@
<?php
-define( 'UPDATE_VERSION' , 1069 );
+define( 'UPDATE_VERSION' , 1070 );
/**
*
@@ -789,3 +789,11 @@ function update_r1068(){
return UPDATE_FAILED;
}
+function update_r1069() {
+ $r = q("ALTER TABLE `site` ADD `site_sellpage` CHAR( 255 ) NOT NULL DEFAULT '',
+ADD INDEX ( `site_sellpage` )");
+ if($r)
+ return UPDATE_SUCCESS;
+ return UPDATE_FAILED;
+}
+