remove 65535 char post limit
This commit is contained in:
parent
a3ddbb5d7c
commit
ce2f8c939d
3 changed files with 6 additions and 2 deletions
2
boot.php
2
boot.php
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
set_time_limit(0);
|
set_time_limit(0);
|
||||||
|
|
||||||
define ( 'BUILD_ID', 1015 );
|
define ( 'BUILD_ID', 1016 );
|
||||||
define ( 'DFRN_PROTOCOL_VERSION', '2.0' );
|
define ( 'DFRN_PROTOCOL_VERSION', '2.0' );
|
||||||
|
|
||||||
define ( 'EOL', "<br />\r\n" );
|
define ( 'EOL', "<br />\r\n" );
|
||||||
|
|
|
@ -171,7 +171,7 @@ CREATE TABLE IF NOT EXISTS `item` (
|
||||||
`author-link` char(255) NOT NULL,
|
`author-link` char(255) NOT NULL,
|
||||||
`author-avatar` char(255) NOT NULL,
|
`author-avatar` char(255) NOT NULL,
|
||||||
`title` char(255) NOT NULL,
|
`title` char(255) NOT NULL,
|
||||||
`body` text NOT NULL,
|
`body` mediumtext NOT NULL,
|
||||||
`verb` char(255) NOT NULL,
|
`verb` char(255) NOT NULL,
|
||||||
`object-type` char(255) NOT NULL,
|
`object-type` char(255) NOT NULL,
|
||||||
`object` text NOT NULL,
|
`object` text NOT NULL,
|
||||||
|
|
|
@ -130,3 +130,7 @@ function update_1014() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function update_1015() {
|
||||||
|
q("ALTER TABLE `item` CHANGE `body` `body` mediumtext NOT NULL");
|
||||||
|
}
|
Loading…
Reference in a new issue