Answer Overflow Logo
Change Theme
Search Answer Overflow
GitHub
Add Your Server
Login
Home
Popular
Topics
Gaming
Programming
AlexDev
Posts
Comments
F
Filament
•
Created by AlexDev on 2/4/2024 in
#❓┊help
Question about project filament and seed withProgressBar
Your code works well (thanks), and in the demo example on github too (seed 2 fake users):
$this
->
withProgressBar
(
2
,
fn
() =>
User
::
factory
(
1
)
->
create
());
$this
->
withProgressBar
(
2
,
fn
() =>
User
::
factory
(
1
)
->
create
());
I want to get the two users preseeded: admin and user, and then already fill in the rest of the seeded ones.
4 replies