diff --git a/backend/scripts/generate-next-season.ts b/backend/scripts/generate-next-season.ts index a440b03975..a2e7cf79b2 100644 --- a/backend/scripts/generate-next-season.ts +++ b/backend/scripts/generate-next-season.ts @@ -4,7 +4,7 @@ import { generateNextSeason, insertBots } from 'shared/generate-leagues' if (require.main === module) { runScript(async ({ pg }) => { - const newSeason = 19 + const newSeason = 20 if ((newSeason as any) <= CURRENT_SEASON) { console.log('Are you sure you want to generate the current season?') return diff --git a/common/src/leagues.ts b/common/src/leagues.ts index 4aa65b6158..47b42d2111 100644 --- a/common/src/leagues.ts +++ b/common/src/leagues.ts @@ -3,7 +3,7 @@ import { Row } from './supabase/utils' export type season = (typeof SEASONS)[number] export const SEASONS = [ - 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, + 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, ] as const export const CURRENT_SEASON = SEASONS[SEASONS.length - 1]