getEnvironment() == "thetool") { $this->execute("ALTER TABLE `Voiceplanzone` ADD INDEX `voiceplan_id` (`voiceplan_id`);"); $this->execute("ALTER TABLE `Voiceplandestination` ADD INDEX `voiceplanzone_id` (`voiceplanzone_id`);"); } if($this->getEnvironment() == "addressdb") { } } public function down(): void { if($this->getEnvironment() == "thetool") { $this->execute("ALTER TABLE `Voiceplanzone` DROP INDEX `voiceplan_id`;"); $this->execute("ALTER TABLE `Voiceplandestination` DROP INDEX `voiceplanzone_id`;"); } if($this->getEnvironment() == "addressdb") { } } }