getEnvironment() == "thetool") { $table = $this->table("Poprackmodule"); $table->addColumn("status", "enum", ['values' => ['productive', 'planned'],'null' => false,'default' => 'productive', "after" => "side"]); $table->update(); } if($this->getEnvironment() == "addressdb") { } } public function down(): void { if($this->getEnvironment() == "thetool") { $this->table("Poprackmodule")->removeColumn("status")->save(); } if($this->getEnvironment() == "addressdb") { } } }