]> git.mxchange.org Git - friendica.git/commitdiff
friend suggest structures, cont.
authorFriendika <info@friendika.com>
Sun, 26 Jun 2011 12:42:32 +0000 (05:42 -0700)
committerFriendika <info@friendika.com>
Sun, 26 Jun 2011 12:42:32 +0000 (05:42 -0700)
boot.php
database.sql
update.php

index 9321b43c096e4f0b4b6eef3609b6353fe26d662b..5a7af9725b5c0540a9eae84afc463cc3b6bbcf80 100644 (file)
--- a/boot.php
+++ b/boot.php
@@ -6,7 +6,7 @@ ini_set('pcre.backtrack_limit', 250000);
 
 define ( 'FRIENDIKA_VERSION',      '2.2.1022' );
 define ( 'DFRN_PROTOCOL_VERSION',  '2.21'    );
-define ( 'DB_UPDATE_VERSION',      1067      );
+define ( 'DB_UPDATE_VERSION',      1068      );
 
 define ( 'EOL',                    "<br />\r\n"     );
 define ( 'ATOM_TIME',              'Y-m-d\TH:i:s\Z' );
index b99796d83084ced53f808462b5177f697c503a5d..7b70cfc644908b83191a5d8f9ef109d938d53c66 100644 (file)
@@ -514,6 +514,8 @@ CREATE TABLE IF NOT EXISTS `fcontact` (
 
 CREATE TABLE IF NOT EXISTS `ffinder` (
 `id` INT UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY ,
+`type` CHAR( 16 ) NOT NULL,
+`note` TEXT NOT NULL,
 `uid` INT UNSIGNED NOT NULL ,
 `cid` INT UNSIGNED NOT NULL ,
 `fid` INT UNSIGNED NOT NULL
index 13187ac5117a9c802aea4bd608181146709f096e..409e5d48efd8ff31308e2fc15f17e157509ad7e4 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 
-define( 'UPDATE_VERSION' , 1067 );
+define( 'UPDATE_VERSION' , 1068 );
 
 /**
  *
@@ -535,4 +535,9 @@ function update_1066() {
                q("ALTER TABLE `item` ADD INDEX ( `received` ) ");
 
        $r = q("UPDATE `item` SET `received` = `edited` WHERE 1");
-}
\ No newline at end of file
+}
+
+function update_1067() {
+       q("ALTER TABLE `ffinder` ADD `type` CHAR( 16 ) NOT NULL AFTER `id` ,
+       ADD `note` TEXT NOT NULL AFTER `type` ");
+}