diff --git a/webapp/migrations/Version20240322141105.php b/webapp/migrations/Version20240322141105.php index 35df4bd912..6ef26f32a9 100644 --- a/webapp/migrations/Version20240322141105.php +++ b/webapp/migrations/Version20240322141105.php @@ -21,7 +21,7 @@ public function up(Schema $schema): void { // this up() migration is auto-generated, please modify it to your needs - // remove dupicates + // remove duplicates $this->addSql('DELETE b FROM balloon as b LEFT JOIN (SELECT balloonid FROM balloon as b LEFT JOIN submission as s USING (submitid) GROUP BY teamid, probid, cid) as c ON(b.balloonid = c.balloonid) WHERE c.balloonid IS NULL'); $this->addSql('ALTER TABLE balloon ADD teamid INT UNSIGNED DEFAULT NULL COMMENT \'Team ID\', ADD probid INT UNSIGNED DEFAULT NULL COMMENT \'Problem ID\', ADD cid INT UNSIGNED DEFAULT NULL COMMENT \'Contest ID\'');