Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
DOMjudge Programming Contest Judging System

Version 9.0.1DEV
---------------------------
- Backport adding key size to rankcache table

Version 9.0.0 - 5 October 2025
---------------------------
- API and integration:
Expand Down
4 changes: 2 additions & 2 deletions webapp/migrations/Version20250309122806.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ public function up(Schema $schema): void
{
// this up() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE rankcache ADD sort_key_public TEXT DEFAULT \'\' NOT NULL COMMENT \'Opaque sort key for public audience.\', ADD sort_key_restricted TEXT DEFAULT \'\' NOT NULL COMMENT \'Opaque sort key for restricted audience.\'');
$this->addSql('CREATE INDEX sortKeyPublic ON rankcache (sort_key_public)');
$this->addSql('CREATE INDEX sortKeyRestricted ON rankcache (sort_key_restricted)');
$this->addSql('CREATE INDEX sortKeyPublic ON rankcache (sort_key_public(768))');
$this->addSql('CREATE INDEX sortKeyRestricted ON rankcache (sort_key_restricted(768))');
}

public function down(Schema $schema): void
Expand Down
Loading