From 4e0450b5901e1e99c22d2cd3fb392d6960da0891 Mon Sep 17 00:00:00 2001 From: Sam Minnee Date: Tue, 19 Oct 2010 04:05:29 +0000 Subject: [PATCH] BUGFIX Changing File->Filename property from arbitrary limitation on VARCHAR (255 characters) to TEXT (65k characters) to ensure the framework can handle deeply nested filesystem trees (fixes #6015, thanks muzdowski) (from r111494) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@112909 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- filesystem/File.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/filesystem/File.php b/filesystem/File.php index cd9c417c3..809ff6a19 100755 --- a/filesystem/File.php +++ b/filesystem/File.php @@ -72,7 +72,7 @@ class File extends DataObject { static $db = array( "Name" => "Varchar(255)", "Title" => "Varchar(255)", - "Filename" => "Varchar(255)", + "Filename" => "Text", "Content" => "Text", "Sort" => "Int" );