diff --git a/db/migrations/20240317171644_timerecording_add_fields_car.php b/db/migrations/20240317171644_timerecording_add_fields_car.php index e05f488af..165c29a2d 100644 --- a/db/migrations/20240317171644_timerecording_add_fields_car.php +++ b/db/migrations/20240317171644_timerecording_add_fields_car.php @@ -10,7 +10,7 @@ final class TimerecordingAddFieldsCar extends AbstractMigration if ($this->getEnvironment() == "thetool") { $table = $this->table("Timerecording", ["signed" => true]); $table->addColumn("timerecordingCar_id", "integer", ["null" => true, "default" => NULL, "after" => "businesstrip_info"]); - $table->addColumn("mileage_start", "integer", ["null" => true, "default" => NULL, "after" => "timerecordingCar"]); + $table->addColumn("mileage_start", "integer", ["null" => true, "default" => NULL, "after" => "timerecordingCar_id"]); $table->addColumn("mileage_end", "integer", ["null" => true, "default" => NULL, "after" => "mileage_start"]); $table->update(); }