mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	[1.8.x] Removed duplicate attribute in MySQL DatabaseSchemaEditor.
Backport of 29b4a3f513 from master
			
			
This commit is contained in:
		
				
					committed by
					
						 Tim Graham
						Tim Graham
					
				
			
			
				
	
			
			
			
						parent
						
							2bddc74b42
						
					
				
				
					commit
					121c5f7d5b
				
			| @@ -21,8 +21,6 @@ class DatabaseSchemaEditor(BaseDatabaseSchemaEditor): | ||||
|  | ||||
|     sql_delete_index = "DROP INDEX %(name)s ON %(table)s" | ||||
|  | ||||
|     sql_delete_pk = "ALTER TABLE %(table)s DROP PRIMARY KEY" | ||||
|  | ||||
|     alter_string_set_null = 'MODIFY %(column)s %(type)s NULL;' | ||||
|     alter_string_drop_null = 'MODIFY %(column)s %(type)s NOT NULL;' | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user