Django

Code

Changeset 171

Show
Ignore:
Timestamp:
07/18/05 08:53:45 (3 years ago)
Author:
adrian
Message:

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

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/django/core/db/backends/mysql.py

    r161 r171  
    9999# If a column type is set to None, it won't be included in the output. 
    100100DATA_TYPES = { 
    101     'AutoField':         'mediumint(9) auto_increment', 
     101    'AutoField':         'mediumint(9) unsigned auto_increment', 
    102102    'BooleanField':      'bool', 
    103103    'CharField':         'varchar(%(maxlength)s)',