Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #56 -- MySQL id columns are now UNSIGNED. Thanks, Manuzhai!

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 78206fd08c72a37a9ca1379e5c689edb59511efb 1 parent 86d9ae2
Adrian Holovaty adrianholovaty authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/core/db/backends/
2  django/core/db/backends/
@@ -98,7 +98,7 @@ def get_date_trunc_sql(lookup_type, field_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) auto_increment',
+ 'AutoField': 'mediumint(9) unsigned auto_increment',
'BooleanField': 'bool',
'CharField': 'varchar(%(maxlength)s)',
'CommaSeparatedIntegerField': 'varchar(%(maxlength)s)',
Please sign in to comment.
Something went wrong with that request. Please try again.