Added leaderboard first pass stuff
This commit is contained in:
parent
00e98f874a
commit
bc12dbf8b0
6 changed files with 517 additions and 0 deletions
|
@ -37,6 +37,18 @@ has framework => sub {
|
|||
[ '50+' ],
|
||||
]);
|
||||
|
||||
$schema->resultset('Leaderboard')->populate([
|
||||
[ qw/ name type / ],
|
||||
[ 'Daily Total', 'daily_total' ],
|
||||
[ 'Daily Count', 'daily_count' ],
|
||||
[ 'Weekly Total', 'weekly_total' ],
|
||||
[ 'Weekly Count', 'weekly_count' ],
|
||||
[ 'Monthly Total', 'monthly_total' ],
|
||||
[ 'Monthly Count', 'monthly_count' ],
|
||||
[ 'All Time Total', 'all_time_total' ],
|
||||
[ 'All Time Count', 'all_time_count' ],
|
||||
]);
|
||||
|
||||
return $t;
|
||||
};
|
||||
|
||||
|
|
Reference in a new issue