aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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`");
+}
+