Ticket #56: mysql_creation.diff
File mysql_creation.diff, 680 bytes (added by , 14 years ago) |
---|
-
db/backends/mysql/creation.py
6 6 # be interpolated against the values of Field.__dict__ before being output. 7 7 # If a column type is set to None, it won't be included in the output. 8 8 data_types = { 9 'AutoField': 'integer AUTO_INCREMENT',9 'AutoField': 'integer UNSIGNED AUTO_INCREMENT', 10 10 'BooleanField': 'bool', 11 11 'CharField': 'varchar(%(max_length)s)', 12 12 'CommaSeparatedIntegerField': 'varchar(%(max_length)s)',