Browse Source

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

pull/1137/head
friendica 7 years ago
parent
commit
03245e4a83
  1. 2
      boot.php
  2. 9
      update.php

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

9
update.php

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

Loading…
Cancel
Save