From a978dbe779e3677fb65ee3361315806d5a5449b2 Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Mon, 26 Sep 2005 02:36:53 +0000 Subject: [PATCH] Fixed #489 -- Changed MySQL backend to use longtext for XMLField git-svn-id: http://code.djangoproject.com/svn/django/trunk@694 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 4eb9708fc9..d6a2014d3e 100644 --- a/django/core/db/backends/mysql.py +++ b/django/core/db/backends/mysql.py @@ -133,7 +133,7 @@ DATA_TYPES = { 'TimeField': 'time', 'URLField': 'varchar(200)', 'USStateField': 'varchar(2)', - 'XMLField': 'text', + 'XMLField': 'longtext', } DATA_TYPES_REVERSE = {