mirror of
https://github.com/Hopiu/django.git
synced 2026-05-08 23:54:42 +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:
parent
1d64709080
commit
b353103cb6
1 changed files with 1 additions and 1 deletions
|
|
@ -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)',
|
||||
|
|
|
|||
Loading…
Reference in a new issue