rename t_season_history to t_season_ranking

This commit is contained in:
lightings 2022-10-31 14:27:10 +08:00
parent 5c22739c85
commit 306483cbae

View File

@ -93,7 +93,7 @@ class Season {
async alreadySorted(conn, seasonId) {
const {err, rows} = await conn.execQuery(
'SELECT idx from t_season_history where season=? LIMIT 1',
'SELECT idx from t_season_ranking where season=? LIMIT 1',
[
seasonId
]
@ -156,7 +156,7 @@ class Season {
sorted,
async (element, index) => {
await conn.insert(
't_season_history',
't_season_ranking',
[
['account_id', element['account_id']],
['channel', element['channel']],