Upgrade sqlite driver
This commit is contained in:
		
							parent
							
								
									b46e2afc4a
								
							
						
					
					
						commit
						d4c838c1ce
					
				| @ -8,7 +8,7 @@ require ( | |||||||
| 	github.com/lib/pq v1.10.3 | 	github.com/lib/pq v1.10.3 | ||||||
| 	gorm.io/driver/mysql v1.1.2 | 	gorm.io/driver/mysql v1.1.2 | ||||||
| 	gorm.io/driver/postgres v1.1.2 | 	gorm.io/driver/postgres v1.1.2 | ||||||
| 	gorm.io/driver/sqlite v1.1.5 | 	gorm.io/driver/sqlite v1.1.6 | ||||||
| 	gorm.io/driver/sqlserver v1.0.9 | 	gorm.io/driver/sqlserver v1.0.9 | ||||||
| 	gorm.io/gorm v1.21.15 | 	gorm.io/gorm v1.21.15 | ||||||
| ) | ) | ||||||
|  | |||||||
| @ -357,10 +357,6 @@ func TestMigrateColumns(t *testing.T) { | |||||||
| } | } | ||||||
| 
 | 
 | ||||||
| func TestMigrateConstraint(t *testing.T) { | func TestMigrateConstraint(t *testing.T) { | ||||||
| 	if DB.Dialector.Name() == "sqlite" { |  | ||||||
| 		t.Skip() |  | ||||||
| 	} |  | ||||||
| 
 |  | ||||||
| 	names := []string{"Account", "fk_users_account", "Pets", "fk_users_pets", "Company", "fk_users_company", "Team", "fk_users_team", "Languages", "fk_users_languages"} | 	names := []string{"Account", "fk_users_account", "Pets", "fk_users_pets", "Company", "fk_users_company", "Team", "fk_users_team", "Languages", "fk_users_languages"} | ||||||
| 
 | 
 | ||||||
| 	for _, name := range names { | 	for _, name := range names { | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Jinzhu
						Jinzhu