• Zhang Sen's avatar
    Fix contributions calendar empty problem under mysql · 0cbafa4d
    Zhang Sen authored
    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.
    0cbafa4d
contributions_calendar.rb 1.43 KB