aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-06-21 18:03:54 -0700
committerFriendika <info@friendika.com>2011-06-21 18:03:54 -0700
commita51fc14e69c626aa683db4d5e45a7ff6106752a7 (patch)
tree75146e7acf078c39a9d78b857c242e8f95d2c7da
parente6086e23634939b3354c6b6db59d596c6e2d7ca4 (diff)
downloadvolse-hubzilla-a51fc14e69c626aa683db4d5e45a7ff6106752a7.tar.gz
volse-hubzilla-a51fc14e69c626aa683db4d5e45a7ff6106752a7.tar.bz2
volse-hubzilla-a51fc14e69c626aa683db4d5e45a7ff6106752a7.zip
structures for friend suggestions
-rw-r--r--boot.php2
-rw-r--r--database.sql1
-rw-r--r--update.php7
3 files changed, 8 insertions, 2 deletions
diff --git a/boot.php b/boot.php
index 49120b7cd..9700c012d 100644
--- 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' );
diff --git a/database.sql b/database.sql
index e248b6b3d..284ab0afc 100644
--- a/database.sql
+++ b/database.sql
@@ -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',
diff --git a/update.php b/update.php
index 595395673..8edd2aa92 100644
--- a/update.php
+++ b/update.php
@@ -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`");
+}
+