aboutsummaryrefslogtreecommitdiffstats
path: root/install/update.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-08-16 16:10:35 -0700
committerfriendica <info@friendica.com>2014-08-16 16:10:35 -0700
commit20bdcb037f29824bcb0c8307526c0e95baa7b360 (patch)
treee31463bebab395d507b88d73a590caf71df3c780 /install/update.php
parentba0bf596b58440c0e50142565d7ec77838be95cc (diff)
downloadvolse-hubzilla-20bdcb037f29824bcb0c8307526c0e95baa7b360.tar.gz
volse-hubzilla-20bdcb037f29824bcb0c8307526c0e95baa7b360.tar.bz2
volse-hubzilla-20bdcb037f29824bcb0c8307526c0e95baa7b360.zip
provide backend storage and declaration of directory realm
Diffstat (limited to 'install/update.php')
-rw-r--r--install/update.php11
1 files changed, 10 insertions, 1 deletions
diff --git a/install/update.php b/install/update.php
index 135aba674..bd4e043a0 100644
--- a/install/update.php
+++ b/install/update.php
@@ -1,6 +1,6 @@
<?php
-define( 'UPDATE_VERSION' , 1121 );
+define( 'UPDATE_VERSION' , 1122 );
/**
*
@@ -1360,3 +1360,12 @@ ADD INDEX ( `public_policy` )");
}
+function update_r1121() {
+ $r = q("ALTER TABLE `site` ADD `site_realm` CHAR( 255 ) NOT NULL DEFAULT '',
+ADD INDEX ( `site_realm` )");
+ if($r)
+ return UPDATE_SUCCESS;
+ return UPDATE_FAILED;
+}
+
+