getEnvironment() == "thetool") { $table = $this->table("Productgroup"); $table->addColumn("matchcodeorigin", "string", ["null" => true, "default" => null, "limit" => 64, "after" => "name"]); $table->update(); } if($this->getEnvironment() == "addressdb") { } } public function down(): void { if($this->getEnvironment() == "thetool") { $this->table("Productgroup")->removeColumn("matchcodeorigin")->save(); } if($this->getEnvironment() == "addressdb") { } } }