1
0
mirror of https://github.com/django/django.git synced 2024-12-24 18:16:19 +00:00

Fixed #1500 -- Changed MySQL AutoField to be integer, not mediumint. Thanks, ejf-django

git-svn-id: http://code.djangoproject.com/svn/django/trunk@2582 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2006-03-28 17:46:53 +00:00
parent 1d64709080
commit b353103cb6

View File

@ -189,7 +189,7 @@ OPERATOR_MAPPING = {
# be interpolated against the values of Field.__dict__ before being output.
# If a column type is set to None, it won't be included in the output.
DATA_TYPES = {
'AutoField': 'mediumint(9) unsigned auto_increment',
'AutoField': 'integer AUTO_INCREMENT',
'BooleanField': 'bool',
'CharField': 'varchar(%(maxlength)s)',
'CommaSeparatedIntegerField': 'varchar(%(maxlength)s)',