Fixed type for non-nullable uniqueidentifier, xml

This commit is contained in:
Sergey Kurt 2017-03-31 11:24:11 +03:00
parent dbf897977a
commit 874d2ed2e6

View file

@ -343,7 +343,7 @@ func (m *MSSQLDriver) TranslateColumnType(c bdb.Column) bdb.Column {
case "timestamp", "rowversion":
c.Type = "[]byte"
case "uniqueidentifier", "xml":
c.Type = "null.String"
c.Type = "string"
default:
c.Type = "string"
}