Skip to content

Modular logistics and supply chain operating system (LSOS)

ci(api-contract): fix the food truck vehicle, which aborted the whole seed (#611)

Ron4c7b1c1af1b4
diff --git a/scripts/ci/mint-api-key.php b/scripts/ci/mint-api-key.php
index 60951a04..4a6a025b 100644
--- a/scripts/ci/mint-api-key.php
+++ b/scripts/ci/mint-api-key.php
@@ -331,6 +331,10 @@ try {
'model' => 'Food Truck',
'year' => 2026,
'status' => 'active',
+ // Both are NOT NULL without a default. `location` is the spatial column
+ // that already broke sensor and fuel report creation; `online` is the same
+ // trap one column over, and it aborted the whole seed.
+ 'online' => 0,
'location' => new \Fleetbase\LaravelMysqlSpatial\Types\Point(1.3521, 103.8198),
]);
}