sendou.ink/app/db/models/users/addTournamentResultHighlight.sql
Kalle 35424514d6
Finalize tournament + leaderboards initial (#1404)
* Set up tables

* Initial

* Frontend for finalize tournament

* Enter summaries to DB

* Handle changes on tournament page after tournament is finalized

* Fix streams tab text not centered

* Add translations

* Results on user page

* Highlight logic for tournament results

* Leaderboard page initial

* Team leaderboard

* CSS tweaks

* Add unit tests

* Add some i18n

* Add leaderboards page meta

* Support tournaments of size 2

* Add E2E test

* Add missing group by
2023-06-29 00:21:33 +03:00

8 lines
124 B
SQL

update
"TournamentResult"
set
"isHighlight" = 1
where
"userId" = @userId
and "tournamentTeamId" = @tournamentTeamId