Repository navigation
Conditional Database Seeders #52708
Replies: 2 comments
|
There could even be a reusable attribute like |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I am currently working with multiple Database Seeder classes and some of those classes should only run locally, so, I was thinking rather than having to wrap them in an if condition, maybe we could introduce a better API/Syntax?
shouldRun(or similar name) method to the seeder class$this->call()All reactions