Skip to content

Commit 6a7f663

Browse files
author
Mithilesh Gupta
committed
Fixed MSSQL issues
1 parent 796ea9a commit 6a7f663

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

models/migrations/v1_25/v322_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ func Test_ExtendCommentTreePathLength(t *testing.T) {
3535
case "comment":
3636
column := table.GetColumn("tree_path")
3737
assert.NotNil(t, column)
38-
assert.Equal(t, "VARCHAR", column.SQLType.Name)
39-
assert.Equal(t, 4000, column.Length)
38+
assert.Contains(t, []string{"NVARCHAR", "VARCHAR"}, column.SQLType.Name)
39+
assert.Equal(t, int64(4000), column.Length)
4040
}
4141
}
4242
}

0 commit comments

Comments
 (0)