From 9464af0eef5b55a6cdc41f9072f6450fa4dc9e3b Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 1 Sep 2014 21:45:34 -0700 Subject: [PATCH] resize the item guid field for protocol compatibility - it's getting truncated. --- boot.php | 2 +- database.sql | 2 +- update.php | 10 +++++++++- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/boot.php b/boot.php index 74a14ae10a..89c2d7d6f9 100644 --- a/boot.php +++ b/boot.php @@ -14,7 +14,7 @@ require_once('include/features.php'); define ( 'FRIENDICA_PLATFORM', 'Friendica'); define ( 'FRIENDICA_VERSION', '3.2.1753' ); define ( 'DFRN_PROTOCOL_VERSION', '2.23' ); -define ( 'DB_UPDATE_VERSION', 1171 ); +define ( 'DB_UPDATE_VERSION', 1172 ); define ( 'EOL', "
\r\n" ); define ( 'ATOM_TIME', 'Y-m-d\TH:i:s\Z' ); diff --git a/database.sql b/database.sql index 0d45dda106..cbf8933f3d 100644 --- a/database.sql +++ b/database.sql @@ -507,7 +507,7 @@ CREATE TABLE IF NOT EXISTS `intro` ( CREATE TABLE IF NOT EXISTS `item` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, - `guid` char(64) NOT NULL, + `guid` char(255) NOT NULL, `uri` char(255) CHARACTER SET ascii NOT NULL, `uid` int(10) unsigned NOT NULL DEFAULT '0', `contact-id` int(10) unsigned NOT NULL DEFAULT '0', diff --git a/update.php b/update.php index d0fddcf276..f8c99135be 100644 --- a/update.php +++ b/update.php @@ -1,6 +1,6 @@