This commit is contained in:
Andras Bacsai
2023-03-30 09:47:04 +02:00
parent e11f8837a4
commit 6205598b45
7 changed files with 104 additions and 38 deletions

View File

@@ -14,6 +14,7 @@ return new class extends Migration
Schema::create('standalone_dockers', function (Blueprint $table) {
$table->id();
$table->string('uuid')->unique();
$table->string('network');
$table->foreignId('server_id');
$table->timestamps();

View File

@@ -18,6 +18,7 @@ class StandaloneDockerSeeder extends Seeder
$server_3 = Server::find(3);
StandaloneDocker::create([
'id' => 1,
'network' => 'coolify',
'server_id' => $server_3->id,
]);
}

View File

@@ -2,10 +2,8 @@
namespace Database\Seeders;
use App\Models\Team;
use App\Models\User;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;
class UserSeeder extends Seeder
{