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
|
|
|
|
{
|
2023-03-24 14:54:17 +01:00
|
|
|
if (env('APP_ENV') === 'local') {
|
|
|
|
$this->call([
|
|
|
|
UserSeeder::class,
|
|
|
|
TeamSeeder::class,
|
2023-03-24 15:47:58 +01:00
|
|
|
PrivateKeySeeder::class,
|
2023-03-27 14:31:42 +02:00
|
|
|
ServerSeeder::class,
|
2023-03-27 10:44:31 +02:00
|
|
|
ProjectSeeder::class,
|
|
|
|
ProjectSettingSeeder::class,
|
|
|
|
EnvironmentSeeder::class,
|
2023-03-27 14:31:42 +02:00
|
|
|
StandaloneDockerSeeder::class,
|
|
|
|
SwarmDockerSeeder::class,
|
2023-03-27 10:44:31 +02:00
|
|
|
ApplicationSeeder::class,
|
|
|
|
DBSeeder::class,
|
2023-03-24 14:54:17 +01:00
|
|
|
]);
|
|
|
|
}
|
2023-03-17 15:33:48 +01:00
|
|
|
}
|
|
|
|
}
|