adjust fmt.Errorf
This commit is contained in:
		
							parent
							
								
									ce81b2da23
								
							
						
					
					
						commit
						aafc9ba117
					
				@ -608,7 +608,7 @@ func (m Migrator) CreateIndex(value interface{}, name string) error {
 | 
			
		||||
			return m.DB.Exec(createIndexSQL, values...).Error
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		return fmt.Errorf("failed to create index with name %v", name)
 | 
			
		||||
		return fmt.Errorf("failed to create index with name %s", name)
 | 
			
		||||
	})
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user