lasthourcloud/database/seeders/StandaloneDockerSeeder.php
Andras Bacsai c8434acd0d fixes
2023-04-14 10:00:42 +02:00

26 lines
535 B
PHP

<?php
namespace Database\Seeders;
use App\Models\Destination;
use App\Models\Server;
use App\Models\StandaloneDocker;
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;
class StandaloneDockerSeeder extends Seeder
{
/**
* Run the database seeds.
*/
public function run(): void
{
$server_1 = Server::find(1);
StandaloneDocker::create([
'id' => 1,
'network' => 'coolify',
'server_id' => $server_1->id,
]);
}
}