summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2005-09-24 17:37:30 +0000
committerAdrian Holovaty <adrian@holovaty.com>2005-09-24 17:37:30 +0000
commit109a915775f1ae5a2045007fcfac2b1b7e480d53 (patch)
tree3cd6ecef0123775dd65d9c5f22f004526f1ae514
parenteb3b1cfb81c231ee9f696883972e31ccd9f2e087 (diff)
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
-rw-r--r--django/core/db/backends/mysql.py2
1 files changed, 1 insertions, 1 deletions
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)',