mirror of https://github.com/go-gitea/gitea.git
fix updated update on public key (#2514)
* fix updated update on public key * update vendor.json Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com> * fix root path Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
parent
e5d80b7090
commit
0f9e20b3d7
|
@ -202,6 +202,7 @@ func (session *Session) Update(bean interface{}, condiBean ...interface{}) (int6
|
|||
table := session.statement.RefTable
|
||||
|
||||
if session.statement.UseAutoTime && table != nil && table.Updated != "" {
|
||||
if _, ok := session.statement.columnMap[strings.ToLower(table.Updated)]; !ok {
|
||||
colNames = append(colNames, session.engine.Quote(table.Updated)+" = ?")
|
||||
col := table.UpdatedColumn()
|
||||
val, t := session.engine.NowTime2(col.SQLType.Name)
|
||||
|
@ -215,6 +216,7 @@ func (session *Session) Update(bean interface{}, condiBean ...interface{}) (int6
|
|||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//for update action to like "column = column + ?"
|
||||
incColumns := session.statement.getInc()
|
||||
|
|
|
@ -468,10 +468,10 @@
|
|||
"revisionTime": "2016-08-11T02:11:45Z"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "SoZDnkd5NdwE0g4MY1nTAl8ZtPo=",
|
||||
"checksumSHA1": "lAzHeuH461JyawhsGLi27JpWsgs=",
|
||||
"path": "github.com/go-xorm/xorm",
|
||||
"revision": "c29485f954ed6495861c0098f9a1642a467299c8",
|
||||
"revisionTime": "2017-09-10T12:58:18Z"
|
||||
"revision": "3101e3bc440f16f151687d97bce94da063c486f5",
|
||||
"revisionTime": "2017-09-15T01:51:15Z"
|
||||
},
|
||||
{
|
||||
"checksumSHA1": "1ft/4j5MFa7C9dPI9whL03HSUzk=",
|
||||
|
|
Loading…
Reference in New Issue