diff --git a/boot.php b/boot.php index cdca1c11e4..925585d44a 100644 --- a/boot.php +++ b/boot.php @@ -2,7 +2,7 @@ set_time_limit(0); -define ( 'BUILD_ID', 1015 ); +define ( 'BUILD_ID', 1016 ); define ( 'DFRN_PROTOCOL_VERSION', '2.0' ); define ( 'EOL', "
\r\n" ); diff --git a/database.sql b/database.sql index 8f068e59d9..ced7573f3b 100644 --- a/database.sql +++ b/database.sql @@ -171,7 +171,7 @@ CREATE TABLE IF NOT EXISTS `item` ( `author-link` char(255) NOT NULL, `author-avatar` char(255) NOT NULL, `title` char(255) NOT NULL, - `body` text NOT NULL, + `body` mediumtext NOT NULL, `verb` char(255) NOT NULL, `object-type` char(255) NOT NULL, `object` text NOT NULL, diff --git a/update.php b/update.php index dfa54af593..eb3231b569 100644 --- a/update.php +++ b/update.php @@ -129,4 +129,8 @@ function update_1014() { intval($rr['id'])); } } +} + +function update_1015() { + q("ALTER TABLE `item` CHANGE `body` `body` mediumtext NOT NULL"); } \ No newline at end of file