lasthourcloud/database/seeders/ServerSeeder.php
2023-08-22 17:44:49 +02:00

26 lines
646 B
PHP

<?php
namespace Database\Seeders;
use App\Models\Server;
use Illuminate\Database\Seeder;
class ServerSeeder extends Seeder
{
public function run(): void
{
Server::create([
'id' => 0,
'name' => "localhost",
'description' => "This is a test docker container in development mode",
'ip' => "coolify-testing-host",
'team_id' => 0,
'private_key_id' => 0,
// 'proxy' => ServerMetadata::from([
// 'type' => ProxyTypes::TRAEFIK_V2->value,
// 'status' => ProxyStatus::EXITED->value
// ]),
]);
}
}