fixed bug when using uuid with mssql
This commit is contained in:
parent
539f1099db
commit
886a6d06de
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue