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

seeder class created for database seed #44

Merged
merged 1 commit into from
May 8, 2024

Conversation

shahi5472
Copy link
Contributor

Hi
I have created a seeder class for database seed. please review.

Command:
vania db:seed UserSeeder

Description:

  • Creates a new seeder file and class named UserSeeder. Registers the UserSeeder class into the DatabaseSeeder class for seeding the database.

vania migrate:seed
Description:

  • Calls the run() method from all registered seeder classes to seed the database.

Thank you

@javad-zobeidi javad-zobeidi merged commit 6b5cf71 into vania-dart:dev May 8, 2024
1 check passed
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.

2 participants