sendou.ink/app/db/models/calendar/create.sql
Kalle 5e36b76ee8
TO Tools back (#1349)
* Remove friend code

* Revive TO Tools admin page

* Revive TO Tools maps page

* Initial one mode only map list

* Add modesIncluded arg

* Handle no maps picked for SZ only generation

* Tiebreaker is always from the maps of the teams

* Make modesIncluded necessary arg

* Tiebreaker is from neither team's pool if no overlap

* Handles worst case duplication

* Handles one team submitted no maps test

* Fix crash

* Seed

* Can change one mode tournament map pool

* Fix join page link

* Remove useless TODO

* Fixes related to mapListGeneratorAvailable

* Fix map list generation considering impossible map lists making it take forever

* Show unlisted select for both sides

* Add info texts

* Remove register button

* Add todos

* Finished version for ITZ

* Times

* Remove TODOs

* 23->24
2023-04-22 11:44:20 +03:00

23 lines
339 B
SQL

insert into
"CalendarEvent" (
"name",
"authorId",
"tags",
"description",
"discordInviteCode",
"bracketUrl",
"toToolsEnabled",
"toToolsMode"
)
values
(
@name,
@authorId,
@tags,
@description,
@discordInviteCode,
@bracketUrl,
@toToolsEnabled,
@toToolsMode
) returning *