Update migrate_test.go
This commit is contained in:
		
							parent
							
								
									87830a80ea
								
							
						
					
					
						commit
						441dc26e43
					
				@ -16,7 +16,6 @@ func TestMigrate(t *testing.T) {
 | 
				
			|||||||
	rand.Shuffle(len(allModels), func(i, j int) { allModels[i], allModels[j] = allModels[j], allModels[i] })
 | 
						rand.Shuffle(len(allModels), func(i, j int) { allModels[i], allModels[j] = allModels[j], allModels[i] })
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	DB.Migrator().DropTable("user_speaks", "user_friends", "ccc")
 | 
						DB.Migrator().DropTable("user_speaks", "user_friends", "ccc")
 | 
				
			||||||
	DB.Migrator().GetTables()
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if err := DB.Migrator().DropTable(allModels...); err != nil {
 | 
						if err := DB.Migrator().DropTable(allModels...); err != nil {
 | 
				
			||||||
		t.Fatalf("Failed to drop table, got error %v", err)
 | 
							t.Fatalf("Failed to drop table, got error %v", err)
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user