fixed bug when using uuid with mssql

This commit is contained in:
David Lobmaier 2016-10-16 12:45:35 +02:00
parent 539f1099db
commit 886a6d06de
1 changed files with 3 additions and 0 deletions

View File

@ -247,6 +247,9 @@ func (db *mssql) SqlType(c *core.Column) string {
res = core.Text res = core.Text
case core.Double: case core.Double:
res = core.Real res = core.Real
case core.Uuid:
res = core.Varchar
c.Length = 40
default: default:
res = t res = t
} }