From d4c838c1cefcd16d94b9c629b3a841cc24e28328 Mon Sep 17 00:00:00 2001 From: Jinzhu Date: Fri, 8 Oct 2021 17:31:58 +0800 Subject: [PATCH] Upgrade sqlite driver --- tests/go.mod | 2 +- tests/migrate_test.go | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/tests/go.mod b/tests/go.mod index 5484d6ad..6df53d7f 100644 --- a/tests/go.mod +++ b/tests/go.mod @@ -8,7 +8,7 @@ require ( github.com/lib/pq v1.10.3 gorm.io/driver/mysql 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/gorm v1.21.15 ) diff --git a/tests/migrate_test.go b/tests/migrate_test.go index 599ca850..ba271478 100644 --- a/tests/migrate_test.go +++ b/tests/migrate_test.go @@ -357,10 +357,6 @@ func TestMigrateColumns(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"} for _, name := range names {