lasthourcloud/database/seeders/StandalonePostgresqlSeeder.php
2023-08-11 16:13:53 +02:00

23 lines
565 B
PHP

<?php
namespace Database\Seeders;
use App\Models\StandaloneDocker;
use App\Models\StandalonePostgresql;
use Illuminate\Database\Seeder;
class StandalonePostgresqlSeeder extends Seeder
{
public function run(): void
{
StandalonePostgresql::create([
'name' => 'Local PostgreSQL',
'description' => 'Local PostgreSQL for testing',
'postgres_password' => 'postgres',
'environment_id' => 1,
'destination_id' => 0,
'destination_type' => StandaloneDocker::class,
]);
}
}