Fix tournaments script

This commit is contained in:
Kalle
2024-01-30 17:09:41 +02:00
parent 144da5d158
commit 422f3227b6
2 changed files with 12 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
/* eslint-disable no-console */
import "dotenv/config";
import { sql } from "~/db/sql";
sql
.prepare(
`update "TournamentStage" set "name" = 'Main bracket' where "name" = 'Elimination stage'`,
)
.run();
console.log(`Fixed tournaments`);