mirror of
				https://github.com/django/django.git
				synced 2025-11-03 21:25:09 +00:00 
			
		
		
		
	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
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -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…
	
	Add table
		Add a link
		
	
		Reference in a new issue