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