aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2010-12-02 23:04:28 -0800
committerFriendika <info@friendika.com>2010-12-02 23:04:28 -0800
commitfac04eda32198c81b8f6715fec291dfc780edb45 (patch)
tree0e5cbdab466d5178ff7c8cdf5b54793914804cdc
parentda62055bf22183052ddd2b6b11eb85cb838e2b30 (diff)
downloadvolse-hubzilla-fac04eda32198c81b8f6715fec291dfc780edb45.tar.gz
volse-hubzilla-fac04eda32198c81b8f6715fec291dfc780edb45.tar.bz2
volse-hubzilla-fac04eda32198c81b8f6715fec291dfc780edb45.zip
getting ready to add partner info
-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` ");
+
+}
+