aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--boot.php2
-rw-r--r--database.sql1
-rw-r--r--update.php6
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', "<br />\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` ");
+
+}
+