seed rootless media set
This commit is contained in:
parent
a6236f7fdf
commit
4bfacc58b8
2 changed files with 11 additions and 3 deletions
|
|
@ -11,14 +11,19 @@ class SetSeeder extends Seeder
|
|||
public function run(): void
|
||||
{
|
||||
$setRepository = app(SetRepository::class);
|
||||
$title = 'Baderech HaAvodah';
|
||||
$baderechTitle = 'Baderech HaAvodah';
|
||||
|
||||
$set = $setRepository->create(new CreateSetDto(
|
||||
name: $title,
|
||||
$setRepository->create(new CreateSetDto(
|
||||
name: $baderechTitle,
|
||||
description: 'Baderech HaAvodah is a way of living - '
|
||||
. 'a structured path for inner and outer growth, '
|
||||
. 'spiritual refinement, and personal development.',
|
||||
iconImageUrl: '/assets/baderech-haavodah-icon.png',
|
||||
));
|
||||
$setRepository->create(new CreateSetDto(
|
||||
name: 'Daily Learning',
|
||||
description: 'Daily learning for steady growth',
|
||||
iconImageUrl: '/assets/daily-learning-icon.svg',
|
||||
));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue