getEnvironment() == "thetool") { $table = $this->table("Address"); $table->addColumn("gps_lat", "decimal", ["null" => true, "default" => null, "precision" => 15, "scale" => 10, "after" => "country_id"]); $table->addColumn("gps_long", "decimal", ["null" => true, "default" => null, "precision" => 15, "scale" => 10, "after" => "gps_lat"]); $table->addColumn("laea", "string", ["null" => true, "default" => null, "limit" => 64, "after" => "gps_long"]); $table->update(); } if($this->getEnvironment() == "addressdb") { } } public function down(): void { if($this->getEnvironment() == "thetool") { $this->table("Address") ->removeColumn("laea") ->removeColumn("gps_long") ->removeColumn("gps_lat") ->update(); } if($this->getEnvironment() == "addressdb") { } } }