Using varchar(max) instead of text in mssql.

This commit is contained in:
David Lobmaier 2016-11-29 16:47:05 +01:00
parent 311abf25ab
commit 06a1b9da56
1 changed files with 2 additions and 2 deletions

View File

@ -242,8 +242,8 @@ func (db *mssql) SqlType(c *core.Column) string {
c.Length = 7
case core.MediumInt:
res = core.Int
case core.MediumText, core.TinyText, core.LongText, core.Json:
res = core.Text
case core.Text, core.MediumText, core.TinyText, core.LongText, core.Json:
res = core.Varchar + "(MAX)"
case core.Double:
res = core.Real
case core.Uuid: