Custom network aliases for Dockerfile and Docker Image apps

This commit is contained in:
Piotr Wojcik
2025-01-05 07:47:57 +01:00
parent 676f616efa
commit 9acde06795
5 changed files with 36 additions and 3 deletions

View File

@@ -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()
{
Schema::table('applications', function (Blueprint $table) {
$table->text('network_aliases')->nullable();
});
}
public function down()
{
Schema::table('applications', function (Blueprint $table) {
$table->dropColumn('network_aliases');
});
}
};