lasthourcloud/database/seeders/StandalonePostgresqlSeeder.php
Andras Bacsai d18de24cf9 wip: scheduled backups
fix: file locations vendor unlocking
2023-08-09 14:44:36 +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' => 1,
'destination_type' => StandaloneDocker::class,
]);
}
}