diff --git a/boot.php b/boot.php index abc4c04e44..545883eb98 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 8cf7241790..41d256d731 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 9a829ce8b4..28e4bcf709 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` "); + +} +