Update 20240317171644_timerecording_add_fields_car.php
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user