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:
parent
70900bd167
commit
980dd0bf51
54 changed files with 3135 additions and 2619 deletions
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue