rename postgres to standalonepostgres

This commit is contained in:
Andras Bacsai
2023-08-07 19:25:32 +02:00
parent a020bc872d
commit 20e1cd6d6b
10 changed files with 29 additions and 14 deletions

View File

@@ -0,0 +1,26 @@
<?php
namespace Database\Seeders;
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;
use App\Models\StandalonePostgres;
use App\Models\StandaloneDocker;
class StandalonePostgresSeeder extends Seeder
{
/**
* Run the database seeds.
*/
public function run(): void
{
StandalonePostgres::create([
'name' => 'Local PostgreSQL',
'description' => 'Local PostgreSQL for testing',
'postgres_password' => 'postgres',
'environment_id' => 1,
'destination_id' => 1,
'destination_type' => StandaloneDocker::class,
]);
}
}