mirror of
https://github.com/cupcakearmy/coolify.git
synced 2024-10-22 08:04:19 +02:00
2b394d6fea
fix: exclude containers with restart: no from hc feat: add compose to predefined docker network service: add glitchtip
29 lines
641 B
PHP
29 lines
641 B
PHP
<?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
|
|
{
|
|
Schema::table('services', function (Blueprint $table) {
|
|
$table->boolean('connect_to_docker_network')->default(false);
|
|
});
|
|
}
|
|
|
|
/**
|
|
* Reverse the migrations.
|
|
*/
|
|
public function down(): void
|
|
{
|
|
Schema::table('services', function (Blueprint $table) {
|
|
$table->dropColumn('connect_to_docker_network');
|
|
});
|
|
}
|
|
};
|