Merge pull request #469 from dlob/master

Using uuid with mssql
This commit is contained in:
Lunny Xiao 2016-10-16 20:57:22 +08:00 committed by GitHub
commit 46eddd7696
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
case core.Double:
res = core.Real
case core.Uuid:
res = core.Varchar
c.Length = 40
default:
res = t
}