mirror of
https://github.com/go-gitea/gitea
synced 2025-07-20 17:28:37 +00:00
Update xorm and dependencies vendor for feature to dump to other database (#565)
* update xorm and dependencies vendor for feature to dump to other database * fix golint
This commit is contained in:
5
vendor/github.com/go-xorm/xorm/postgres_dialect.go
generated
vendored
5
vendor/github.com/go-xorm/xorm/postgres_dialect.go
generated
vendored
@@ -783,6 +783,11 @@ func (db *postgres) SqlType(c *core.Column) string {
|
||||
return core.Serial
|
||||
}
|
||||
return core.Integer
|
||||
case core.BigInt:
|
||||
if c.IsAutoIncrement {
|
||||
return core.BigSerial
|
||||
}
|
||||
return core.BigInt
|
||||
case core.Serial, core.BigSerial:
|
||||
c.IsAutoIncrement = true
|
||||
c.Nullable = false
|
||||
|
Reference in New Issue
Block a user