Skip to content
Browse files

Fixed #1500 -- Changed MySQL AutoField to be integer, not mediumint. …

…Thanks, ejf-django

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 1d64709 commit b353103cb6a09640c308c5c621ead6e87c231ba7 @adrianholovaty adrianholovaty committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/core/db/backends/
2 django/core/db/backends/
@@ -189,7 +189,7 @@ def get_indexes(cursor, table_name):
# 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.
- 'AutoField': 'mediumint(9) unsigned auto_increment',
+ 'AutoField': 'integer AUTO_INCREMENT',
'BooleanField': 'bool',
'CharField': 'varchar(%(maxlength)s)',
'CommaSeparatedIntegerField': 'varchar(%(maxlength)s)',

0 comments on commit b353103

Please sign in to comment.
Something went wrong with that request. Please try again.