From 5f9f3b3570e68a232d51acf57f096163b9c74451 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Tue, 4 Oct 2016 03:53:31 +0000 Subject: [PATCH] Added the database field to database.sql --- boot.php | 2 +- database.sql | 3 ++- update.php | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/boot.php b/boot.php index ea14428fd0..1c475ca935 100644 --- a/boot.php +++ b/boot.php @@ -38,7 +38,7 @@ define ( 'FRIENDICA_PLATFORM', 'Friendica'); define ( 'FRIENDICA_CODENAME', 'Asparagus'); define ( 'FRIENDICA_VERSION', '3.5.1-dev' ); define ( 'DFRN_PROTOCOL_VERSION', '2.23' ); -define ( 'DB_UPDATE_VERSION', 1203 ); +define ( 'DB_UPDATE_VERSION', 1204 ); /** * @brief Constant with a HTML line break. diff --git a/database.sql b/database.sql index a482b106cf..4133d3e825 100644 --- a/database.sql +++ b/database.sql @@ -1,6 +1,6 @@ -- ------------------------------------------ -- Friendica 3.5.1-dev (Asparagus) --- DB_UPDATE_VERSION 1203 +-- DB_UPDATE_VERSION 1204 -- ------------------------------------------ @@ -328,6 +328,7 @@ CREATE TABLE IF NOT EXISTS `gcontact` ( `gender` varchar(32) NOT NULL DEFAULT '', `birthday` varchar(32) NOT NULL DEFAULT '0000-00-00', `community` tinyint(1) NOT NULL DEFAULT 0, + `contact-type` tinyint(1) NOT NULL DEFAULT -1, `hide` tinyint(1) NOT NULL DEFAULT 0, `nsfw` tinyint(1) NOT NULL DEFAULT 0, `network` varchar(255) NOT NULL DEFAULT '', diff --git a/update.php b/update.php index 31f7852a2f..863025ccc7 100644 --- a/update.php +++ b/update.php @@ -1,6 +1,6 @@