1
1
Fork 0

increase guid.guid field length for redmatrix-over-diaspora communications

This commit is contained in:
friendica 2014-08-26 19:18:19 -07:00
parent faf8afe65c
commit 03245e4a83
2 changed files with 9 additions and 2 deletions

View file

@ -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', 1170 );
define ( 'DB_UPDATE_VERSION', 1171 );
define ( 'EOL', "<br />\r\n" );
define ( 'ATOM_TIME', 'Y-m-d\TH:i:s\Z' );

View file

@ -1,6 +1,6 @@
<?php
define( 'UPDATE_VERSION' , 1170 );
define( 'UPDATE_VERSION' , 1171 );
/**
*
@ -1599,3 +1599,10 @@ function update_1169() {
return UPDATE_SUCCESS;
}
function update_1170() {
$r = q("ALTER TABLE `guid` CHANGE `guid` `guid` VARCHAR( 255 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL");
if (!$r)
return UPDATE_FAILED;
return UPDATE_SUCCESS;
}