getEnvironment() == "thetool") { $this->table("PreordercampaignSalescluster")->addIndex(["preordercampaign_id","salescluster_id"])->save(); $this->table("RimoWorkorder")->addIndex(["adb_wohneinheit_id"])->save(); } } public function down(): void { if ($this->getEnvironment() == "thetool") { $this->table("PreordercampaignSalescluster")->removeIndex(["preordercampaign_id","salescluster_id"])->save(); $this->table("RimoWorkorder")->removeIndex(["adb_wohneinheit_id"])->save(); } } }