Skip to content

VDO Generate Seeder Command #25

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

Merged
merged 9 commits into from
Oct 31, 2019
Merged

Conversation

DrudgeRajen
Copy link
Owner

@DrudgeRajen DrudgeRajen commented Oct 29, 2019

Fixes #17

VDO only supports the generation of BREAD Seeders. There is no option to generate the seeder file for other tables, which can be useful if we want to share the same data as well.

This feature will provide a command which will generate a seed file for the tables provided as a command argument.

php artisan vdo:generate table-name

And for multiple Tables
php artisan vdo:generate table-name1,table-name2

It will generate the seeder file at /database/seeds/breads/TableNameTableSeeder.php

@DrudgeRajen DrudgeRajen force-pushed the FEATURE-VDO-GENERATE-COMMAND branch from 832debb to b1bb488 Compare October 31, 2019 16:41
@DrudgeRajen DrudgeRajen merged commit 19e0c9b into master Oct 31, 2019
@DrudgeRajen DrudgeRajen deleted the FEATURE-VDO-GENERATE-COMMAND branch November 1, 2019 16:59
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.

Order of Menu Item for a bread data type is not seeded correctly
1 participant