getEnvironment() == "thetool") { $table = $this->table ("WorkerPermission"); $table->addColumn("preorderreadonly", "enum", ["null" => false, "values" => 'false,true', "default" => "false", "after" => "preorderlogistics"]); $table->update(); } if($this->getEnvironment() == "addressdb") { } } public function down(): void { if($this->getEnvironment() == "thetool") { $this->table ("WorkerPermission")->removeColumn("preorderreadonly"); } if($this->getEnvironment() == "addressdb") { } } }