From 04cee6c4c041ae412dfd7001b9b5358f7533b5f3 Mon Sep 17 00:00:00 2001 From: Manuel Aranda Date: Fri, 27 Sep 2024 11:01:20 +0200 Subject: [PATCH] refs #758. Testing commandTask and commandGroups --- migrations/Version20240926104532.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/migrations/Version20240926104532.php b/migrations/Version20240926104532.php index c7d34fc..125bc93 100644 --- a/migrations/Version20240926104532.php +++ b/migrations/Version20240926104532.php @@ -20,16 +20,13 @@ final class Version20240926104532 extends AbstractMigration public function up(Schema $schema): void { // this up() migration is auto-generated, please modify it to your needs - $this->addSql('ALTER TABLE organizational_unit DROP FOREIGN KEY FK_749AEB2DC56641EE'); $this->addSql('ALTER TABLE command_group DROP position'); - $this->addSql('DROP INDEX IDX_749AEB2DC56641EE ON organizational_unit'); } public function down(Schema $schema): void { // this down() migration is auto-generated, please modify it to your needs - $this->addSql('ALTER TABLE organizational_unit ADD CONSTRAINT FK_749AEB2DC56641EE FOREIGN KEY (remote_calendar_id) REFERENCES remote_calendar (id)'); - $this->addSql('CREATE INDEX IDX_749AEB2DC56641EE ON organizational_unit (remote_calendar_id)'); + $this->addSql('ALTER TABLE organizational_unit ADD FK_749AEB2DC56641EE FOREIGN KEY (remote_calendar_id) REFERENCES remote_calendar (id)'); $this->addSql('ALTER TABLE command_group ADD position INT NOT NULL'); } }