aboutsummaryrefslogtreecommitdiffstats
path: root/install/update.php
diff options
context:
space:
mode:
authorChristian Vogeley <christian.vogeley@hotmail.de>2013-08-03 00:18:14 +0200
committerChristian Vogeley <christian.vogeley@hotmail.de>2013-08-03 00:18:14 +0200
commitf09ac4e5972a77dfe73338ee207e40ec463355e9 (patch)
tree77232d70031622a162f4e00aec128961ecc7a764 /install/update.php
parent9294f72adb3c076932558b6f29a4c570e7962764 (diff)
downloadvolse-hubzilla-f09ac4e5972a77dfe73338ee207e40ec463355e9.tar.gz
volse-hubzilla-f09ac4e5972a77dfe73338ee207e40ec463355e9.tar.bz2
volse-hubzilla-f09ac4e5972a77dfe73338ee207e40ec463355e9.zip
Revert "Revert "merge""
This reverts commit 9294f72adb3c076932558b6f29a4c570e7962764.
Diffstat (limited to 'install/update.php')
-rw-r--r--install/update.php24
1 files changed, 23 insertions, 1 deletions
diff --git a/install/update.php b/install/update.php
index ba9e9e430..f953e3f09 100644
--- a/install/update.php
+++ b/install/update.php
@@ -1,6 +1,6 @@
<?php
-define( 'UPDATE_VERSION' , 1054 );
+define( 'UPDATE_VERSION' , 1057 );
/**
*
@@ -641,3 +641,25 @@ function update_r1053() {
return UPDATE_SUCCESS;
return UPDATE_FAILED;
}
+
+function update_r1054() {
+ $r = q("ALTER TABLE `item` CHANGE `title` `title` TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '' ");
+ if($r)
+ return UPDATE_SUCCESS;
+ return UPDATE_FAILED;
+}
+
+function update_r1055() {
+ $r = q("ALTER TABLE `mail` CHANGE `title` `title` TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '' ");
+ if($r)
+ return UPDATE_SUCCESS;
+ return UPDATE_FAILED;
+}
+
+function update_r1056() {
+ $r = q("ALTER TABLE `xchan` ADD `xchan_instance_url` CHAR( 255 ) NOT NULL DEFAULT '' AFTER `xchan_network` ,
+ADD INDEX ( `xchan_instance_url` ) ");
+ if($r)
+ return UPDATE_SUCCESS;
+ return UPDATE_FAILED;
+}