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

pull/1098/head
friendica 2014-08-26 19:18:19 -07:00
rodzic faf8afe65c
commit 03245e4a83
2 zmienionych plików z 9 dodań i 2 usunięć

Wyświetl plik

@ -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' );

Wyświetl plik

@ -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;
}