mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-09-30 23:27:55 -05:00
Fix tournaments script
This commit is contained in:
11
scripts/fix-tournaments.ts
Normal file
11
scripts/fix-tournaments.ts
Normal 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`);
|
||||
Reference in New Issue
Block a user