听说你们在Leaderboard倒反天罡?

https://linux.do/leaderboard

我来看看是怎么个事?

select * from gamification_scores where user_id = 1 order by date desc limit 10; 
    id    | user_id |    date    | score 
----------+---------+------------+-------
 26096656 |       1 | 2024-07-31 |   884
 25771399 |       1 | 2024-07-30 |  1421
 25254851 |       1 | 2024-07-29 |  1009
 25183095 |       1 | 2024-07-28 |   347
 25534627 |       1 | 2024-07-27 |   306
 26041043 |       1 | 2024-07-26 |  1232
 25929489 |       1 | 2024-07-25 |  1156
 25817985 |       1 | 2024-07-24 |   904
 25676931 |       1 | 2024-07-23 |  1436
 25526187 |       1 | 2024-07-22 |   741
(10 rows)
select sum(score) from gamification_scores where user_id = 1;
  sum   
--------
 146123
(1 row)

不过我不打算改,那不酷~


听说用这个分数还能做徽章?

SELECT user_id, current_timestamp AS granted_at 
FROM gamification_scores
WHERE (:backfill OR user_id IN (:user_ids))
GROUP BY 1
HAVING SUM(score) > 10000
195 个赞

前排围观~

3 个赞

前排,另外我发起号召,我们都给始皇点点赞,给始皇护护驾

8 个赞

前排!!!!

3 个赞

:cow::cow:

1 个赞

前排

前排

前排

前排

始皇你把数值前面加两个九,他们就永远超不过你了

火前留名

酷酷的皇

第一次前排!

来咯来咯

3 个赞

围观

看不懂

前排~

热乎的?

1 个赞

不明,觉厉

后排吃瓜 :tieba_067:

1 个赞