aboutsummaryrefslogtreecommitdiffstats
path: root/install/update.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-05-19 16:49:11 -0700
committerfriendica <info@friendica.com>2014-05-19 16:49:11 -0700
commit6d01707a724504a34b8e84e87c6601a046de9739 (patch)
treef062ebc7ef703402ca74a83b4aca8877f3e86aa0 /install/update.php
parentea67b9bda895d30d3115b04ba78db35e6a8b0a74 (diff)
downloadvolse-hubzilla-6d01707a724504a34b8e84e87c6601a046de9739.tar.gz
volse-hubzilla-6d01707a724504a34b8e84e87c6601a046de9739.tar.bz2
volse-hubzilla-6d01707a724504a34b8e84e87c6601a046de9739.zip
more app backend work
Diffstat (limited to 'install/update.php')
-rw-r--r--install/update.php11
1 files changed, 9 insertions, 2 deletions
diff --git a/install/update.php b/install/update.php
index 561070ba4..b91589c28 100644
--- a/install/update.php
+++ b/install/update.php
@@ -1,6 +1,6 @@
<?php
-define( 'UPDATE_VERSION' , 1109 );
+define( 'UPDATE_VERSION' , 1110 );
/**
*
@@ -1216,7 +1216,7 @@ function update_r1107() {
}
-function update_r11108() {
+function update_r1108() {
$r = q("ALTER TABLE `app` ADD `app_addr` CHAR( 255 ) NOT NULL DEFAULT '',
ADD `app_price` CHAR( 255 ) NOT NULL DEFAULT '',
ADD `app_page` CHAR( 255 ) NOT NULL DEFAULT '',
@@ -1225,3 +1225,10 @@ ADD INDEX ( `app_price` )");
return UPDATE_SUCCESS;
return UPDATE_FAILED;
}
+
+function update_r1109() {
+ $r = q("ALTER TABLE `app` CHANGE `app_id` `app_id` CHAR( 255 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT ''");
+ if($r)
+ return UPDATE_SUCCESS;
+ return UPDATE_FAILED;
+}