Update migrate_test.go

This commit is contained in:
Jinzhu 2023-01-01 21:57:37 +08:00 committed by GitHub
parent bab8ee5187
commit bac0e43501
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1205,8 +1205,8 @@ func TestMigrateSameEmbeddedFieldName(t *testing.T) {
}
func TestMigrateDefaultNullString(t *testing.T) {
if DB.Dialector.Name() == "sqlite" || DB.Dialector.Name() == "sqlserver" {
// sqlite and sqlserver driver treats NULL and 'NULL' the same
if DB.Dialector.Name() == "sqlserver" {
// sqlserver driver treats NULL and 'NULL' the same
t.Skip("skip sqlite and sqlserver")
}