From 449ed8d379e4fc93bb5c219925c841f0731d8fd9 Mon Sep 17 00:00:00 2001 From: Anselm Christophersen Date: Tue, 14 Feb 2017 23:14:41 +0100 Subject: [PATCH] Text supports up to 16 megabytes, not 2 (#6368) See the `requireField` method that defines it as `mediumtext`. --- src/ORM/FieldType/DBText.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ORM/FieldType/DBText.php b/src/ORM/FieldType/DBText.php index cadc6ab35..84967951b 100644 --- a/src/ORM/FieldType/DBText.php +++ b/src/ORM/FieldType/DBText.php @@ -12,7 +12,7 @@ use SilverStripe\ORM\DB; use InvalidArgumentException; /** - * Represents a variable-length string of up to 2 megabytes, designed to store raw text + * Represents a variable-length string of up to 16 megabytes, designed to store raw text * * Example definition via {@link DataObject::$db}: *