Fix contrib save query indentation
This commit is contained in:
parent
ede2707070
commit
d31bbabcc7
|
@ -20,6 +20,8 @@ func (c *Contrib) Save() {
|
||||||
insert into contribs (week, org_id, repo_id, user_id, commits, additions, deletions)
|
insert into contribs (week, org_id, repo_id, user_id, commits, additions, deletions)
|
||||||
values (:week, :org_id, :repo_id, :user_id, :commits, :additions, :deletions)
|
values (:week, :org_id, :repo_id, :user_id, :commits, :additions, :deletions)
|
||||||
on duplicate key update
|
on duplicate key update
|
||||||
commits=values(commits), additions=values(additions), deletions=values(deletions)
|
commits = values(commits),
|
||||||
|
additions = values(additions),
|
||||||
|
deletions = values(deletions)
|
||||||
`, c)
|
`, c)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue