27-05-2026 Update DHL Modul v2.0

This commit is contained in:
Kevin 2026-05-27 13:40:38 +00:00
parent 53bdba33cd
commit 036595be94
41 changed files with 3346 additions and 310 deletions

View file

@ -0,0 +1,32 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
if (! Schema::hasColumn('dhl_package_shipments', 'reference')) {
Schema::table('dhl_package_shipments', function (Blueprint $table) {
$table->string('reference', 35)->nullable()->after('routing_code');
});
}
}
/**
* Reverse the migrations.
*/
public function down(): void
{
if (Schema::hasColumn('dhl_package_shipments', 'reference')) {
Schema::table('dhl_package_shipments', function (Blueprint $table) {
$table->dropColumn('reference');
});
}
}
};