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

Update make:db:seed to use DefaultSeed only if a model is provided #173

Open
hellopablo opened this issue Jan 23, 2020 · 0 comments
Open
Assignees
Labels
effort: medium Issues which are considered a medium task
Milestone

Comments

@hellopablo
Copy link
Member

hellopablo commented Jan 23, 2020

Referring to #171 , it will be possible to create a seeder which is not a child of DefaultSeed. As such the nails make:db:seed commands should be updated/changed as follows:

nails make:db:seed Book
# Generates  App\Database\Seed\Book

nails make:db:seed Book --model=Book
# Generates App\Database\Seed\Book extends DefaultSeed
@hellopablo hellopablo added this to the v0 milestone Jan 23, 2020
@hellopablo hellopablo self-assigned this Jan 23, 2020
@hellopablo hellopablo added this to To do in nails/common v0 via automation Jan 23, 2020
@hellopablo hellopablo added this to To do in V0 via automation Jan 23, 2020
@hellopablo hellopablo added this to To do in nails/common v1 via automation Feb 17, 2020
@hellopablo hellopablo removed this from To do in nails/common v0 Feb 17, 2020
@hellopablo hellopablo added this to To do in V1 via automation Feb 17, 2020
@hellopablo hellopablo removed this from To do in V0 Feb 17, 2020
@hellopablo hellopablo modified the milestones: v0, v1 Feb 18, 2020
@hellopablo hellopablo changed the title Update make:db:seed to use DefaultSeed only if a mdoel is provided Update make:db:seed to use DefaultSeed only if a model is provided Apr 21, 2021
@hellopablo hellopablo added the effort: medium Issues which are considered a medium task label Apr 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
effort: medium Issues which are considered a medium task
Projects
V1
  
To do
Development

No branches or pull requests

1 participant