mirror of
https://github.com/go-gitea/gitea
synced 2025-07-19 00:38:36 +00:00
Upgrade xorm to v1.1.0 (#15869)
This commit is contained in:
4
vendor/xorm.io/xorm/dialects/mssql.go
generated
vendored
4
vendor/xorm.io/xorm/dialects/mssql.go
generated
vendored
@@ -284,7 +284,7 @@ func (db *mssql) SQLType(c *schemas.Column) string {
|
||||
case schemas.TimeStampz:
|
||||
res = "DATETIMEOFFSET"
|
||||
c.Length = 7
|
||||
case schemas.MediumInt:
|
||||
case schemas.MediumInt, schemas.UnsignedInt:
|
||||
res = schemas.Int
|
||||
case schemas.Text, schemas.MediumText, schemas.TinyText, schemas.LongText, schemas.Json:
|
||||
res = db.defaultVarchar + "(MAX)"
|
||||
@@ -296,7 +296,7 @@ func (db *mssql) SQLType(c *schemas.Column) string {
|
||||
case schemas.TinyInt:
|
||||
res = schemas.TinyInt
|
||||
c.Length = 0
|
||||
case schemas.BigInt:
|
||||
case schemas.BigInt, schemas.UnsignedBigInt:
|
||||
res = schemas.BigInt
|
||||
c.Length = 0
|
||||
case schemas.NVarchar:
|
||||
|
Reference in New Issue
Block a user