]> git.mxchange.org Git - friendica.git/commitdiff
getting ready to add partner info
authorFriendika <info@friendika.com>
Fri, 3 Dec 2010 07:04:28 +0000 (23:04 -0800)
committerFriendika <info@friendika.com>
Fri, 3 Dec 2010 07:04:28 +0000 (23:04 -0800)
boot.php
database.sql
update.php

index abc4c04e44576304ed3ae275371644db7ecbb22b..545883eb988fada4066b5ce9758819ea849dd320 100644 (file)
--- 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"     );
index 8cf72417906f931592514ffe2cbe2cc3c882bb7e..41d256d7319dbdb8fe6cd316ebd0d68b577e29e2 100644 (file)
@@ -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,
index 9a829ce8b4840b8998ec43a3138cde19b9625725..28e4bcf709bac47293e0b2c9eca7b947b1347a90 100644 (file)
@@ -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` ");
+
+}
+