summaryrefslogtreecommitdiff
path: root/lib/api/system_hooks.rb
diff options
context:
space:
mode:
authorZhang Sen <sen@senorsen.com>2015-04-24 18:27:52 +0800
committerSenorsen <sen@senorsen.com>2015-04-25 20:13:52 +0800
commit0cbafa4d65c31feef9e9651c40eca5dc820bc9ed (patch)
treebd357d73d15d4d2e543517c627da3e651158c2d1 /lib/api/system_hooks.rb
parent0e998876d842bd4d8b172b73eef86b30f397b009 (diff)
downloadgitlab-ce-0cbafa4d65c31feef9e9651c40eca5dc820bc9ed.tar.gz
Fix contributions calendar empty problem under mysql
When using MySQL as database backend in GitLab, ``date`` in ``date(created_at), count(id) as total_amount`` won't return the ``date`` column (should be ``date(created_at)``), as a result, there's no contribution in the user profile page. Adding an ``as date`` can solve this problem.
Diffstat (limited to 'lib/api/system_hooks.rb')
0 files changed, 0 insertions, 0 deletions