aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--boot.php2
-rw-r--r--install/database.sql1
-rw-r--r--install/update.php6
3 files changed, 7 insertions, 2 deletions
diff --git a/boot.php b/boot.php
index d424a44d7..91148a018 100644
--- a/boot.php
+++ b/boot.php
@@ -17,7 +17,7 @@ require_once('include/features.php');
define ( 'FRIENDICA_PLATFORM', 'Friendica Red');
define ( 'FRIENDICA_VERSION', trim(file_get_contents('version.inc')) . 'R');
define ( 'ZOT_REVISION', 1 );
-define ( 'DB_UPDATE_VERSION', 1036 );
+define ( 'DB_UPDATE_VERSION', 1037 );
define ( 'EOL', '<br />' . "\r\n" );
define ( 'ATOM_TIME', 'Y-m-d\TH:i:s\Z' );
diff --git a/install/database.sql b/install/database.sql
index c321af401..138213fbd 100644
--- a/install/database.sql
+++ b/install/database.sql
@@ -698,6 +698,7 @@ CREATE TABLE IF NOT EXISTS `profile` (
`work` text NOT NULL,
`education` text NOT NULL,
`contact` text NOT NULL,
+ `channels` text NOT NULL,
`homepage` char(255) NOT NULL,
`photo` char(255) NOT NULL,
`thumb` char(255) NOT NULL,
diff --git a/install/update.php b/install/update.php
index 0c7c6e0df..533fd63e5 100644
--- a/install/update.php
+++ b/install/update.php
@@ -1,6 +1,6 @@
<?php
-define( 'UPDATE_VERSION' , 1036 );
+define( 'UPDATE_VERSION' , 1037 );
/**
*
@@ -462,3 +462,7 @@ KEY `k` ( `k` )
return UPDATE_SUCCESS;
return UPDATE_FAILED;
}
+
+function update_r1036() {
+ q("ALTER TABLE `profile` ADD `channels` TEXT NOT NULL AFTER `contact` ");
+}