Skip to content

Commit

Permalink
Merge pull request #5431 from christianbeeznest/GH-5412
Browse files Browse the repository at this point in the history
Internal: Adjust down migration for track_e_downloads schema changes - refs #5412
  • Loading branch information
christianbeeznest committed Apr 25, 2024
2 parents aaefd6f + 1da78c9 commit fbdca27
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ public function down(Schema $schema): void
$this->addSql('DROP INDEX IDX_EEDF4DA6F004E599 ON track_e_downloads;');
$this->addSql('ALTER TABLE track_e_downloads DROP resource_link_id;');
$this->addSql('ALTER TABLE track_e_downloads ADD c_id INT NOT NULL;');
$this->addSql('ALTER TABLE track_e_downloads ADD down_session_id INT DEFAULT NULL;');
$this->addSql('CREATE INDEX idx_ted_c_id ON track_e_downloads (c_id);');
$this->addSql('CREATE INDEX down_session_id ON track_e_downloads (down_session_id);');
$this->addSql('ALTER TABLE track_e_downloads ADD session_id INT DEFAULT NULL;');
$this->addSql('CREATE INDEX session_id ON track_e_downloads (session_id);');
}
}

0 comments on commit fbdca27

Please sign in to comment.