resize the item guid field for protocol compatibility - it's getting truncated.
This commit is contained in:
parent
03245e4a83
commit
9464af0eef
3 changed files with 11 additions and 3 deletions
10
update.php
10
update.php
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
define( 'UPDATE_VERSION' , 1171 );
|
||||
define( 'UPDATE_VERSION' , 1172 );
|
||||
|
||||
/**
|
||||
*
|
||||
|
@ -1606,3 +1606,11 @@ function update_1170() {
|
|||
return UPDATE_FAILED;
|
||||
return UPDATE_SUCCESS;
|
||||
}
|
||||
|
||||
function update_1171() {
|
||||
$r = q("ALTER TABLE `item` CHANGE `guid` `guid` VARCHAR( 255 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL");
|
||||
if (!$r)
|
||||
return UPDATE_FAILED;
|
||||
return UPDATE_SUCCESS;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue