From fac04eda32198c81b8f6715fec291dfc780edb45 Mon Sep 17 00:00:00 2001 From: Friendika Date: Thu, 2 Dec 2010 23:04:28 -0800 Subject: [PATCH] getting ready to add partner info --- boot.php | 2 +- database.sql | 1 + update.php | 6 ++++-- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/boot.php b/boot.php index abc4c04e4..545883eb9 100644 --- a/boot.php +++ b/boot.php @@ -2,7 +2,7 @@ set_time_limit(0); -define ( 'BUILD_ID', 1019 ); +define ( 'BUILD_ID', 1020 ); define ( 'DFRN_PROTOCOL_VERSION', '2.0' ); define ( 'EOL', "
\r\n" ); diff --git a/database.sql b/database.sql index 8cf724179..41d256d73 100644 --- a/database.sql +++ b/database.sql @@ -285,6 +285,7 @@ CREATE TABLE IF NOT EXISTS `profile` ( `country-name` char(255) NOT NULL, `gender` char(32) NOT NULL, `marital` char(255) NOT NULL, + `showwith` tinyint(1) NOT NULL DEFAULT '0', `with` text NOT NULL, `sexual` char(255) NOT NULL, `politic` char(255) NOT NULL, diff --git a/update.php b/update.php index 9a829ce8b..28e4bcf70 100644 --- a/update.php +++ b/update.php @@ -179,5 +179,7 @@ function update_1018() { function update_1019() { q("ALTER TABLE `mail` DROP `delivered`"); -// leaving open for more updates as this isn't critical enough to roll the build number -} \ No newline at end of file + q("ALTER TABLE `profile` ADD `showwith` TINYINT(1) NOT NULL DEFAULT '0' AFTER `marital` "); + +} +