From 109a915775f1ae5a2045007fcfac2b1b7e480d53 Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Sat, 24 Sep 2005 17:37:30 +0000 Subject: [PATCH] Fixed #489 -- Changed MySQL backend to use longtext instead of text for TextField git-svn-id: http://code.djangoproject.com/svn/django/trunk@680 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/core/db/backends/mysql.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/core/db/backends/mysql.py b/django/core/db/backends/mysql.py index 2193c6fbaa..4eb9708fc9 100644 --- a/django/core/db/backends/mysql.py +++ b/django/core/db/backends/mysql.py @@ -129,7 +129,7 @@ DATA_TYPES = { 'PositiveSmallIntegerField': 'smallint UNSIGNED', 'SlugField': 'varchar(50)', 'SmallIntegerField': 'smallint', - 'TextField': 'text', + 'TextField': 'longtext', 'TimeField': 'time', 'URLField': 'varchar(200)', 'USStateField': 'varchar(2)',