as per lunny
Signed-off-by: Andrew Thornton <art27@cantab.net>
This commit is contained in:
parent
4ab644369a
commit
cb2b96e875
|
@ -310,7 +310,7 @@ func (db *mssql) SQLType(c *schemas.Column) string {
|
||||||
}
|
}
|
||||||
case schemas.Blob, schemas.TinyBlob, schemas.MediumBlob, schemas.LongBlob:
|
case schemas.Blob, schemas.TinyBlob, schemas.MediumBlob, schemas.LongBlob:
|
||||||
res = schemas.VarBinary
|
res = schemas.VarBinary
|
||||||
if c.Length == -1 {
|
if c.Length == 0 {
|
||||||
res += "(MAX)"
|
res += "(MAX)"
|
||||||
}
|
}
|
||||||
case schemas.TimeStamp:
|
case schemas.TimeStamp:
|
||||||
|
|
Loading…
Reference in New Issue