From 71a5de40f105234aa8082844d7839c3e0e49e905 Mon Sep 17 00:00:00 2001 From: Michael Date: Wed, 7 Jun 2017 18:34:17 +0000 Subject: [PATCH 1/2] The index mustn't be 192 characters long --- include/dbstructure.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/dbstructure.php b/include/dbstructure.php index 161df46f69..2dec998a74 100644 --- a/include/dbstructure.php +++ b/include/dbstructure.php @@ -1743,7 +1743,7 @@ function db_definition() { "indexes" => array( "PRIMARY" => array("id"), "pid" => array("pid"), - "parameter" => array("parameter(192)"), + "parameter" => array("parameter(64)"), "priority_created" => array("priority", "created"), ) ); From 504ceb2d439d81314efd5a97fc78d99d7e9e5dc2 Mon Sep 17 00:00:00 2001 From: Michael Date: Wed, 7 Jun 2017 20:24:44 +0000 Subject: [PATCH 2/2] We should increase the database version number --- boot.php | 2 +- update.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/boot.php b/boot.php index 50b8f03f63..15341c0fed 100644 --- a/boot.php +++ b/boot.php @@ -41,7 +41,7 @@ define ( 'FRIENDICA_PLATFORM', 'Friendica'); define ( 'FRIENDICA_CODENAME', 'Asparagus'); define ( 'FRIENDICA_VERSION', '3.5.3-dev' ); define ( 'DFRN_PROTOCOL_VERSION', '2.23' ); -define ( 'DB_UPDATE_VERSION', 1228 ); +define ( 'DB_UPDATE_VERSION', 1229 ); /** * @brief Constant with a HTML line break. diff --git a/update.php b/update.php index 76620a48a4..df52e8582b 100644 --- a/update.php +++ b/update.php @@ -1,6 +1,6 @@