Skip to content

Conversation

gwleuverink
Copy link
Contributor

The base SeedCommand class expects some input to be set. This caused the native:seed command to error.

I've added the database input option under the hood. The base command was expecting this input to be present but we don't want this to be altered by the dev. So I've put that in the handle method ( also so it won't show up when using --help).

The class argument I've put in the configure method. I've added it both as an argument & an option so the command signature is similar to laravel's db:seed command.

Fixes #677

@gwleuverink gwleuverink requested a review from a team August 16, 2025 06:48
@gwleuverink gwleuverink self-assigned this Aug 16, 2025
@gwleuverink gwleuverink added the bug Something isn't working label Aug 16, 2025
Copy link
Member

@SRWieZ SRWieZ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch

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
None yet
Development

Successfully merging this pull request may close these issues.

Native seed is not working
2 participants