From ce2f8c939da00f412eff0172c0e4ed4113dac34d Mon Sep 17 00:00:00 2001 From: Friendika Date: Sun, 7 Nov 2010 03:16:58 -0800 Subject: [PATCH] remove 65535 char post limit --- boot.php | 2 +- database.sql | 2 +- update.php | 4 ++++ 3 files changed, 6 insertions(+), 2 deletions(-) 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