From 3611f2e045d95f9ca707d87e4a49d33e935f7d3a Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Fri, 30 Jun 2023 15:59:37 +0800 Subject: [PATCH] Fix sqlserver test --- integrations/schema_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/integrations/schema_test.go b/integrations/schema_test.go index 7c11c570..bcc86779 100644 --- a/integrations/schema_test.go +++ b/integrations/schema_test.go @@ -555,7 +555,7 @@ func (t TestCollateColumn) TableCollations() []*schemas.Collation { } else if t.dbtype == string(schemas.MSSQL) { return []*schemas.Collation{ { - Name: "SQL_Latin1_General_CP1_CI", + Name: "Latin1_General_CI_AS", Column: "name", }, } @@ -593,7 +593,7 @@ func TestCollate(t *testing.T) { if testEngine.Dialect().URI().DBType == schemas.MYSQL { newCollation = "utf8mb4_bin" } else if testEngine.Dialect().URI().DBType != schemas.MSSQL { - newCollation = "SQL_Latin1_General_CP1_CS" + newCollation = "Latin1_General_CS_AS" } else { return }