feat(application): make ports_exposes optional for portless apps

This commit is contained in:
ShadowArcanist committed 2026-03-26 13:20:41 +05:30
1 parent ad95d65aca
commit 9c8e5645b4
6 files changed
+60 -25

No files matched your search

@@ -0,0 +1,22 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
public function up(): void
{
Schema::table('applications', function (Blueprint $table) {
$table->string('ports_exposes')->nullable()->change();
});
}
public function down(): void
{
Schema::table('applications', function (Blueprint $table) {
$table->string('ports_exposes')->nullable(false)->default('')->change();
});
}
};