Ticket #1500: mysql_autofield_patch.diff
File mysql_autofield_patch.diff, 663 bytes (added by , 19 years ago) |
---|
-
django/core/db/backends/mysql.py
172 172 # be interpolated against the values of Field.__dict__ before being output. 173 173 # If a column type is set to None, it won't be included in the output. 174 174 DATA_TYPES = { 175 'AutoField': ' mediumint(9) unsigned auto_increment',175 'AutoField': 'integer AUTO_INCREMENT', 176 176 'BooleanField': 'bool', 177 177 'CharField': 'varchar(%(maxlength)s)', 178 178 'CommaSeparatedIntegerField': 'varchar(%(maxlength)s)',