aboutsummaryrefslogtreecommitdiffstats
path: root/update.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-09-20 01:49:08 -0700
committerFriendika <info@friendika.com>2011-09-20 01:49:08 -0700
commit9edf15d3ef0548a35862fab37eee1fd310705285 (patch)
treed8c6e34b8e83116d1c9151b58ca63d24845923cb /update.php
parent8a11cec61a87600273f1349e3d112e7fc1e65486 (diff)
downloadvolse-hubzilla-9edf15d3ef0548a35862fab37eee1fd310705285.tar.gz
volse-hubzilla-9edf15d3ef0548a35862fab37eee1fd310705285.tar.bz2
volse-hubzilla-9edf15d3ef0548a35862fab37eee1fd310705285.zip
structures for batch mode (Diaspora/zot)
Diffstat (limited to 'update.php')
-rw-r--r--update.php10
1 files changed, 9 insertions, 1 deletions
diff --git a/update.php b/update.php
index 94d0b6274..c5752e4e7 100644
--- a/update.php
+++ b/update.php
@@ -1,6 +1,6 @@
<?php
-define( 'UPDATE_VERSION' , 1090 );
+define( 'UPDATE_VERSION' , 1091 );
/**
*
@@ -753,3 +753,11 @@ function update_1088() {
function update_1089() {
q("ALTER TABLE `user` ADD `blocktags` TINYINT( 1 ) NOT NULL DEFAULT '0' AFTER `hidewall` ");
}
+
+function update_1090() {
+ q("ALTER TABLE `contact` ADD `batch` char(255) NOT NULL AFTER `prvkey` ");
+
+ q("UPDATE `contact` SET `batch` = concat(substring_index(`url`,'/',3),'/receive/public') WHERE `network` = 'dspr' ");
+
+}
+