as per lunny

Signed-off-by: Andrew Thornton <art27@cantab.net>
This commit is contained in:
Andrew Thornton 2021-07-22 22:39:16 +01:00
parent 4ab644369a
commit cb2b96e875
No known key found for this signature in database
GPG Key ID: 3CDE74631F13A748
1 changed files with 1 additions and 1 deletions

View File

@ -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: