aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--boot.php2
-rw-r--r--database.sql2
-rw-r--r--update.php4
3 files changed, 6 insertions, 2 deletions
diff --git a/boot.php b/boot.php
index cdca1c11e..925585d44 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', "<br />\r\n" );
diff --git a/database.sql b/database.sql
index 8f068e59d..ced7573f3 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 dfa54af59..eb3231b56 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