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) { async alreadySorted(conn, seasonId) {
const {err, rows} = await conn.execQuery( 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 seasonId
] ]
@ -156,7 +156,7 @@ class Season {
sorted, sorted,
async (element, index) => { async (element, index) => {
await conn.insert( await conn.insert(
't_season_history', 't_season_ranking',
[ [
['account_id', element['account_id']], ['account_id', element['account_id']],
['channel', element['channel']], ['channel', element['channel']],