getEnvironment() == "thetool") { //VoiceCallHistory Table add start index $this->table("PreorderStatusflagValue")->addIndex(["flag_id"])->save(); } } public function down(): void { if ($this->getEnvironment() == "thetool") { $this->table("PreorderStatusflagValue")->removeIndex(["flag_id"])->save(); } } }