lots of updates + refactoring

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

View File

@@ -32,7 +32,7 @@ class DatabaseSeeder extends Seeder
EnvironmentVariableSeeder::class,
LocalPersistentVolumeSeeder::class,
S3StorageSeeder::class,
StandalonePostgresSeeder::class,
StandalonePostgresqlSeeder::class,
]);
}
}
}

View File

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