fix #1424
This commit is contained in:
		
							parent
							
								
									73168d2f7d
								
							
						
					
					
						commit
						7fbaf82897
					
				| @ -271,6 +271,7 @@ func getColumnDefault(fi *fieldInfo) string { | |||||||
| 		TypeBigIntegerField, TypePositiveBitField, TypePositiveSmallIntegerField, | 		TypeBigIntegerField, TypePositiveBitField, TypePositiveSmallIntegerField, | ||||||
| 		TypePositiveIntegerField, TypePositiveBigIntegerField, TypeFloatField, | 		TypePositiveIntegerField, TypePositiveBigIntegerField, TypeFloatField, | ||||||
| 		TypeDecimalField: | 		TypeDecimalField: | ||||||
|  | 		t = " DEFAULT %s " | ||||||
| 		d = "0" | 		d = "0" | ||||||
| 	} | 	} | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user