lots of updates + refactoring

This commit is contained in:
Andras Bacsai committed 2023-08-07 22:14:21 +02:00
1 parent bfc20ef219
commit 971d7f703d
51 files changed
+532 -324

No files matched your search

@@ -0,0 +1,26 @@
<?php
namespace Database\Seeders;
use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;
use App\Models\StandalonePostgresql;
use App\Models\StandaloneDocker;
class StandalonePostgresqlSeeder extends Seeder
{
/**
* Run the database seeds.
*/
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,
]);
}
}