*/ class EnvironmentFactory extends Factory { /** * Define the model's default state. * * @return array */ public function definition(): array { return [ 'application_id' => Application::factory(), 'name' => 'production', 'branch' => 'main', 'status' => 'active', 'scheduler_enabled' => true, 'scheduler_mode' => SchedulerMode::SINGLE, 'build_config' => [], ]; } }