getEnvironment() == "thetool") { $table = $this->table("Worker"); $table->addColumn("twofactorrequired", "integer", ["null" => false, "default" => 1, "after" => "twofactortimestamp"]); $table->update(); } if($this->getEnvironment() == "addressdb") { } } public function down(): void { if($this->getEnvironment() == "thetool") { $this->table("Worker")->removeColumn("twofactorrequired")->save(); } if($this->getEnvironment() == "addressdb") { } } }