Skip to content

Commit 23d4dd5

Browse files
authored
Merge pull request #231 from fleetbase/dev-v0.6.43
v0.6.43
2 parents 75db3b2 + 2fa9e8c commit 23d4dd5

12 files changed

Lines changed: 42 additions & 59 deletions

addon/components/modals/set-password.hbs

Lines changed: 0 additions & 27 deletions
This file was deleted.

app/components/modals/set-password.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "fleetbase/fleetops-api",
3-
"version": "0.6.42",
3+
"version": "0.6.43",
44
"description": "Fleet & Transport Management Extension for Fleetbase",
55
"keywords": [
66
"fleetbase-extension",

extension.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "Fleet-Ops",
3-
"version": "0.6.42",
3+
"version": "0.6.43",
44
"description": "Fleet & Transport Management Extension for Fleetbase",
55
"repository": "https://github.com/fleetbase/fleetops",
66
"license": "AGPL-3.0-or-later",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@fleetbase/fleetops-engine",
3-
"version": "0.6.42",
3+
"version": "0.6.43",
44
"description": "Fleet & Transport Management Extension for Fleetbase",
55
"fleetbase": {
66
"route": "fleet-ops"

server/migrations/2026_04_08_000001_add_orchestrator_columns_to_vehicles_table.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
<?php
2+
23
use Illuminate\Database\Migrations\Migration;
34
use Illuminate\Database\Schema\Blueprint;
45
use Illuminate\Support\Facades\Schema;
6+
57
/**
68
* Add Orchestrator constraint columns to the vehicles table.
79
*
@@ -34,6 +36,7 @@ public function up(): void
3436
$table->boolean('return_to_depot')->default(true)->after('time_window_end');
3537
});
3638
}
39+
3740
public function down(): void
3841
{
3942
Schema::table('vehicles', function (Blueprint $table) {

server/migrations/2026_04_08_000004_add_orchestrator_columns_to_payloads_table.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
<?php
2+
23
use Illuminate\Database\Migrations\Migration;
34
use Illuminate\Database\Schema\Blueprint;
45
use Illuminate\Support\Facades\Schema;
6+
57
/**
68
* Add Orchestrator capacity columns to the payloads table.
79
*
@@ -24,6 +26,7 @@ public function up(): void
2426
$table->unsignedInteger('capacity_parcels')->nullable()->after('capacity_pallets');
2527
});
2628
}
29+
2730
public function down(): void
2831
{
2932
Schema::table('payloads', function (Blueprint $table) {

server/migrations/2026_04_14_000001_drop_redundant_capacity_columns_from_payloads_table.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
<?php
2+
23
use Illuminate\Database\Migrations\Migration;
34
use Illuminate\Database\Schema\Blueprint;
45
use Illuminate\Support\Facades\Schema;
6+
57
/**
68
* Drop redundant denormalised capacity columns from the payloads table.
79
*

server/migrations/2026_04_14_000002_rename_capacity_columns_on_vehicles_table.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
<?php
2+
23
use Illuminate\Database\Migrations\Migration;
34
use Illuminate\Database\Schema\Blueprint;
45
use Illuminate\Support\Facades\Schema;
6+
57
/**
68
* Correct orchestrator capacity column names on the vehicles table.
79
*
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<?php
2+
3+
use Illuminate\Database\Migrations\Migration;
4+
use Illuminate\Database\Schema\Blueprint;
5+
use Illuminate\Support\Facades\Schema;
6+
7+
return new class extends Migration {
8+
public function up(): void
9+
{
10+
if (!Schema::hasColumn('vehicles', 'internal_id')) {
11+
Schema::table('vehicles', function (Blueprint $table) {
12+
$table->string('internal_id')
13+
->nullable()
14+
->after('public_id');
15+
});
16+
}
17+
}
18+
19+
public function down(): void
20+
{
21+
if (Schema::hasColumn('vehicles', 'internal_id')) {
22+
Schema::table('vehicles', function (Blueprint $table) {
23+
$table->dropColumn('internal_id');
24+
});
25+
}
26+
}
27+
};

0 commit comments

Comments
 (0)