mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
24 lines
421 B
PHP
24 lines
421 B
PHP
<?php
|
|
|
|
namespace Database\Factories;
|
|
|
|
use App\Models\Episode;
|
|
use App\Models\Podcast;
|
|
use Illuminate\Database\Eloquent\Factories\Factory;
|
|
|
|
class EpisodeFactory extends Factory
|
|
{
|
|
/**
|
|
* Define the model's default state.
|
|
*
|
|
* @return array
|
|
*/
|
|
public function definition(): array
|
|
{
|
|
return [
|
|
'podcast_id' => Podcast::factory(),
|
|
'data' => '{}',
|
|
];
|
|
}
|
|
}
|