aboutsummaryrefslogtreecommitdiffstats
path: root/update.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2010-12-07 18:13:51 -0800
committerFriendika <info@friendika.com>2010-12-07 18:13:51 -0800
commit5763d31b4f213fbb2eea4d366a9c7ad534a7f1ec (patch)
tree7e90cc7594e842f9bc9da8bdefd298a3bf73a274 /update.php
parent8b086a76e5607c3db96ca17ce66d2a68139d2584 (diff)
downloadvolse-hubzilla-5763d31b4f213fbb2eea4d366a9c7ad534a7f1ec.tar.gz
volse-hubzilla-5763d31b4f213fbb2eea4d366a9c7ad534a7f1ec.tar.bz2
volse-hubzilla-5763d31b4f213fbb2eea4d366a9c7ad534a7f1ec.zip
db prepare for enhanced magic profiles and remote privacy indicators, fixed $lang setting to use system config var, some other syntax issues
Diffstat (limited to 'update.php')
-rw-r--r--update.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/update.php b/update.php
index b1950e588..ff57c12f3 100644
--- a/update.php
+++ b/update.php
@@ -186,3 +186,10 @@ function update_1020() {
q("ALTER TABLE `profile` DROP `showwith`");
q("ALTER TABLE `item` ADD `thr-parent` CHAR( 255 ) NOT NULL AFTER `parent-uri` ");
}
+
+function update_1021() {
+ q("ALTER TABLE `profile_check` ADD `sec` CHAR( 255 ) NOT NULL AFTER `dfrn_id` ");
+ q("ALTER TABLE `profile_check` ADD `cid` INT(10) unsigned NOT NULL DEFAULT '0' AFTER `uid`");
+ q("ALTER TABLE `item` ADD `private` TINYINT( 1 ) NOT NULL DEFAULT '0' AFTER `deny_gid` ");
+}
+