sendou.ink/migrations/068-add-missing-user-results-index.js
Kalle d4d6002344
New results tab for tournaments (#1876)
* Initial

* Try npm in deploy script

* Progress

* Progress

* Progress

* Add missing index

* Title to user results page

* Hide SPR before tournament over

* Results page and redirect

* SPR info

* Row bg colors

* Laoyut shift fix

* Hide Swiss start round button if bracket is in preview

* Fix e2e test

* Not needed

* one more revert
2024-09-08 11:25:10 +03:00

6 lines
155 B
JavaScript

export function up(db) {
db.prepare(
/*sql*/ `create index tournament_result_tournament_team_id on "TournamentResult"("tournamentTeamId")`,
).run();
}