feat: factory creation and initial theme work

This commit is contained in:
2023-07-29 01:05:43 -05:00
parent 1833524f7f
commit 5c218918ee
213 changed files with 46351 additions and 1923 deletions

View File

@@ -2,10 +2,21 @@
namespace Database\Factories;
use App\Models\Episode;
use App\Models\Podcast;
use App\Models\Artwork;
use Illuminate\Database\Eloquent\Factories\Factory;
class EpisodeFactory extends Factory
{
/**
* The name of the factory's corresponding model
*
* @var string
*/
protected $model = Episode::class;
/**
* Define the model's default state.
*
@@ -14,7 +25,10 @@ class EpisodeFactory extends Factory
public function definition()
{
return [
//
'podcast_id' => Podcast::factory(),
'artwork_id' => Artwork::factory(),
'published' => fake()->boolean(),
'title' => fake()->name()
];
}
}