aboutsummaryrefslogtreecommitdiffstats
path: root/install/update.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-10-13 18:36:28 -0700
committerfriendica <info@friendica.com>2013-10-13 18:36:28 -0700
commitad29d0f9a1eb0be9024f1a296460221107654ff9 (patch)
tree036ff008cf7548f804f0bb4ccc719bebdf6647cf /install/update.php
parent3c3c13c63048434b58c99952fa618f7e60a8b2fa (diff)
downloadvolse-hubzilla-ad29d0f9a1eb0be9024f1a296460221107654ff9.tar.gz
volse-hubzilla-ad29d0f9a1eb0be9024f1a296460221107654ff9.tar.bz2
volse-hubzilla-ad29d0f9a1eb0be9024f1a296460221107654ff9.zip
preserve the source owner when creating a delivery fork so that we can uplink back to them without any ambiguity.
Diffstat (limited to 'install/update.php')
-rw-r--r--install/update.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/install/update.php b/install/update.php
index 20af0de45..74134f260 100644
--- a/install/update.php
+++ b/install/update.php
@@ -1,6 +1,6 @@
<?php
-define( 'UPDATE_VERSION' , 1077 );
+define( 'UPDATE_VERSION' , 1078 );
/**
*
@@ -866,3 +866,10 @@ function update_r1076() {
return UPDATE_SUCCESS;
return UPDATE_FAILED;
}
+
+function update_r1077() {
+ $r = q("ALTER TABLE `item` ADD `source_xchan` CHAR( 255 ) NOT NULL DEFAULT '' AFTER `author_xchan` ");
+ if($r)
+ return UPDATE_SUCCESS;
+ return UPDATE_FAILED;
+}