aboutsummaryrefslogtreecommitdiffstats
path: root/update.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2010-12-04 23:16:16 -0800
committerFriendika <info@friendika.com>2010-12-04 23:16:16 -0800
commite9a1abd133aa3db62d17ef8bdc91e8a75f4004d3 (patch)
treed48e62fd2589c56d02844249e65168e7198f3029 /update.php
parent4507a571d3bea1fd32337565d05230ed2b2119a9 (diff)
downloadvolse-hubzilla-e9a1abd133aa3db62d17ef8bdc91e8a75f4004d3.tar.gz
volse-hubzilla-e9a1abd133aa3db62d17ef8bdc91e8a75f4004d3.tar.bz2
volse-hubzilla-e9a1abd133aa3db62d17ef8bdc91e8a75f4004d3.zip
flatten conversation hierarchy to one level on import but preserve all thread info
in case somebody wants to write a plugin to display as multi-level thread
Diffstat (limited to 'update.php')
-rw-r--r--update.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/update.php b/update.php
index 28e4bcf70..b1950e588 100644
--- a/update.php
+++ b/update.php
@@ -180,6 +180,9 @@ function update_1018() {
function update_1019() {
q("ALTER TABLE `mail` DROP `delivered`");
q("ALTER TABLE `profile` ADD `showwith` TINYINT(1) NOT NULL DEFAULT '0' AFTER `marital` ");
-
}
+function update_1020() {
+ q("ALTER TABLE `profile` DROP `showwith`");
+ q("ALTER TABLE `item` ADD `thr-parent` CHAR( 255 ) NOT NULL AFTER `parent-uri` ");
+}