From 5763d31b4f213fbb2eea4d366a9c7ad534a7f1ec Mon Sep 17 00:00:00 2001 From: Friendika Date: Tue, 7 Dec 2010 18:13:51 -0800 Subject: db prepare for enhanced magic profiles and remote privacy indicators, fixed $lang setting to use system config var, some other syntax issues --- update.php | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'update.php') 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` "); +} + -- cgit v1.2.3