mirror of https://github.com/django/django.git
Fixed #56 -- MySQL id columns are now UNSIGNED. Thanks, Manuzhai!
git-svn-id: http://code.djangoproject.com/svn/django/trunk@171 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
86d9ae269d
commit
78206fd08c
|
@ -98,7 +98,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) auto_increment',
|
||||
'AutoField': 'mediumint(9) unsigned auto_increment',
|
||||
'BooleanField': 'bool',
|
||||
'CharField': 'varchar(%(maxlength)s)',
|
||||
'CommaSeparatedIntegerField': 'varchar(%(maxlength)s)',
|
||||
|
|
Loading…
Reference in New Issue