Skip to content

Conversation

jasonmccreary
Copy link
Collaborator

This add a new top-level syntax to generate database seeders for your defined or existing models.

For example:

models:
  # ...

seeders: Post, User, Comment

controllers:
  # ...

Currently, this will generate code to create five of the the model factories.


Closes #198

@jasonmccreary jasonmccreary merged commit 202dabc into master May 14, 2020
@jasonmccreary jasonmccreary deleted the generate-seeders branch May 14, 2020 16:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Generate Seeder when generating factory
2 participants