Update 20240317171644_timerecording_add_fields_car.php

This commit is contained in:
Frank Schubert
2024-03-28 15:22:18 +00:00
parent 95cc161fdb
commit 411f71cb4a

View File

@@ -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();
}