lasthourcloud/database/seeders/DatabaseSeeder.php
Andras Bacsai 653efb6983 WIP
2023-03-27 14:31:42 +02:00

29 lines
717 B
PHP

<?php
namespace Database\Seeders;
use App\Models\StandaloneDocker;
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,
ServerSeeder::class,
ProjectSeeder::class,
ProjectSettingSeeder::class,
EnvironmentSeeder::class,
StandaloneDockerSeeder::class,
SwarmDockerSeeder::class,
ApplicationSeeder::class,
DBSeeder::class,
]);
}
}
}