]> git.mxchange.org Git - friendica.git/commitdiff
structures for friend suggestions
authorFriendika <info@friendika.com>
Wed, 22 Jun 2011 01:03:54 +0000 (18:03 -0700)
committerFriendika <info@friendika.com>
Wed, 22 Jun 2011 01:03:54 +0000 (18:03 -0700)
boot.php
database.sql
update.php

index 49120b7cd1d340f2a0e6c44f088746738e7db6a4..9700c012ddcea98d31c13ad738249cade080889e 100644 (file)
--- a/boot.php
+++ b/boot.php
@@ -6,7 +6,7 @@ ini_set('pcre.backtrack_limit', 250000);
 
 define ( 'FRIENDIKA_VERSION',      '2.2.1018' );
 define ( 'DFRN_PROTOCOL_VERSION',  '2.21'    );
-define ( 'DB_UPDATE_VERSION',      1065      );
+define ( 'DB_UPDATE_VERSION',      1066      );
 
 define ( 'EOL',                    "<br />\r\n"     );
 define ( 'ATOM_TIME',              'Y-m-d\TH:i:s\Z' );
index e248b6b3d5e83e13235208f9f75cd3e92247210d..284ab0afc87c97c00fa28885b8414071405802aa 100644 (file)
@@ -139,6 +139,7 @@ CREATE TABLE IF NOT EXISTS `group_member` (
 CREATE TABLE IF NOT EXISTS `intro` (
   `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
   `uid` int(10) unsigned NOT NULL,
+  `fid` int(11) NOT NULL DEFAULT '0',
   `contact-id` int(11) NOT NULL,
   `knowyou` tinyint(1) NOT NULL,
   `duplex` tinyint(1) NOT NULL DEFAULT '0',
index 595395673216ec353b2311c3eb2cbc07f2f0b093..8edd2aa9200c6c15f38212b9cfaadb70ca99d3ac 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 
-define( 'UPDATE_VERSION' , 1065 );
+define( 'UPDATE_VERSION' , 1066 );
 
 /**
  *
@@ -524,3 +524,8 @@ function update_1063() {
 function update_1064() {
        q("ALTER TABLE `item` ADD `app` CHAR( 255 ) NOT NULL AFTER `body` ");
 }
+
+function update_1065() {
+       q("ALTER TABLE `intro` ADD `fid` INT NOT NULL DEFAULT '0' AFTER `uid`");
+}
+