Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 UserRandomSeeder is lazy loading #9974

Closed
1 task
petertgiles opened this issue Apr 3, 2024 · 0 comments · Fixed by #10043
Closed
1 task

🐛 UserRandomSeeder is lazy loading #9974

petertgiles opened this issue Apr 3, 2024 · 0 comments · Fixed by #10043
Assignees
Labels
bug Something isn't working.

Comments

@petertgiles
Copy link
Contributor

🐛 Bug

The UserRandomSeeder is lazy loading. This doesn't prevent it from running to set up the project but it does prevent it from being used to seed extra users on-demand.

🦋 Expected Behaviour

A dev should be able to use this seeder to add more users on-demand.

📋 Steps to Reproduce

  1. ./artisan db:seed --class=UserRandomSeeder

📸 Screenshot

image

🙋‍♀️ Proposed Solution

Probably just need to add classification_id to the selects on L43 and L44.

✅ Acceptance Criteria

  • UserRandomSeeder can be run on-demand without crashing.
@petertgiles petertgiles added the bug Something isn't working. label Apr 3, 2024
@vd1992 vd1992 self-assigned this Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working.
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants