summaryrefslogtreecommitdiff
path: root/django/db
diff options
context:
space:
mode:
authorBoulder Sprinters <boulder-sprinters@djangoproject.com>2007-04-20 17:42:30 +0000
committerBoulder Sprinters <boulder-sprinters@djangoproject.com>2007-04-20 17:42:30 +0000
commit172d4ba33b2fdf014bc0c966c64de89e5e6de59f (patch)
tree14d8b3e381985aac3e35f7f307c25390d9bd325d /django/db
parent4230f0c936dab3eb5eabdf96e3a2f24d4213a326 (diff)
downloaddjango-172d4ba33b2fdf014bc0c966c64de89e5e6de59f.tar.gz
boulder-oracle-sprint: Merged to [5045]
git-svn-id: http://code.djangoproject.com/svn/django/branches/boulder-oracle-sprint@5047 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/db')
-rw-r--r--django/db/backends/mysql/introspection.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/db/backends/mysql/introspection.py b/django/db/backends/mysql/introspection.py
index 7829457fa9..558fe49787 100644
--- a/django/db/backends/mysql/introspection.py
+++ b/django/db/backends/mysql/introspection.py
@@ -85,7 +85,7 @@ DATA_TYPES_REVERSE = {
FIELD_TYPE.LONG: 'IntegerField',
FIELD_TYPE.LONGLONG: 'IntegerField',
FIELD_TYPE.SHORT: 'IntegerField',
- FIELD_TYPE.STRING: 'TextField',
+ FIELD_TYPE.STRING: 'CharField',
FIELD_TYPE.TIMESTAMP: 'DateTimeField',
FIELD_TYPE.TINY: 'IntegerField',
FIELD_TYPE.TINY_BLOB: 'TextField',