getEnvironment() == "thetool") { // add articleNumber varchar 255 to the table WarehouseArticle $WarehouseArticle = $this->table("WarehouseArticle", ["signed" => true]); $WarehouseArticle->addColumn("articleNumber", "string", ["null" => false, "limit" => 255]); $WarehouseArticle->save(); } if ($this->getEnvironment() == "addressdb") { } } public function down(): void { if ($this->getEnvironment() == "thetool") { $WarehouseArticle = $this->table("WarehouseArticle", ["signed" => true]); $WarehouseArticle->removeColumn("articleNumber"); $WarehouseArticle->save(); } if ($this->getEnvironment() == "addressdb") { } } }