fix: seeders

This commit is contained in:
Andras Bacsai
2023-04-14 12:58:45 +02:00
parent ff5ff7f310
commit 1ba57ef6c3
6 changed files with 8 additions and 46 deletions

View File

@@ -16,15 +16,6 @@ class ServerSeeder extends Seeder
{
$root_team = Team::find(0);
$private_key_1 = PrivateKey::find(1);
Server::create([
'id' => 0,
'name' => "localhost",
'description' => "This is the local machine",
'user' => 'root',
'ip' => "host.docker.internal",
'team_id' => $root_team->id,
'private_key_id' => $private_key_1->id,
]);
Server::create([
'id' => 1,
'name' => "testing-local-docker-container",