lasthourcloud/database/seeders/DatabaseSeeder.php

31 lines
796 B
PHP
Raw Normal View History

2023-03-17 15:33:48 +01:00
<?php
namespace Database\Seeders;
2023-03-27 14:31:42 +02:00
use App\Models\StandaloneDocker;
2023-03-17 15:33:48 +01:00
use Illuminate\Database\Seeder;
class DatabaseSeeder extends Seeder
{
public function run(): void
{
if (env('APP_ENV') === 'local') {
$this->call([
UserSeeder::class,
TeamSeeder::class,
PrivateKeySeeder::class,
2023-03-27 14:31:42 +02:00
ServerSeeder::class,
ProjectSeeder::class,
ProjectSettingSeeder::class,
EnvironmentSeeder::class,
2023-03-27 14:31:42 +02:00
StandaloneDockerSeeder::class,
SwarmDockerSeeder::class,
2023-03-28 08:22:17 +02:00
KubernetesSeeder::class,
ApplicationSeeder::class,
DBSeeder::class,
2023-03-28 08:28:03 +02:00
ServiceSeeder::class,
]);
}
2023-03-17 15:33:48 +01:00
}
}