30 Days to Learn Laravel, Ep 15 - Understanding Database Seeders
HTML-код
- Опубликовано: 28 апр 2024
- What happens when we refresh our migrations, and then lose all of our records within the database? Do we have to manually run all of those factories again? Absolutely not. Instead, we can read for database seeders.
Watch Full Series on: laracasts.com/series/30-days-...
Watch thousands of videos, track your progress, and participate in a massive Laravel community at Laracasts.com.
Laracasts: laracasts.com
Laracasts Twitter: / laracasts
Jeffrey Way Twitter: / jeffrey_way
Finally I understand the difference. Thank you! 15 days left, I'm excited
Finally! I've been waiting to see the difference between a factory and a seeder, now I know the difference between the two. Thanks to you master.
How do you create data which is uneven though? I.e. If I have 100 users, I might want only 30 of them to have a job or work for one company specifically... That sort of thing, and equally what if I have a company that has 10 job listing's where some companies have no listing's and another has 50 listing's?
Cool humor.
I'm sure others will disagree, but I don't like background music, which I find is distracting and makes hearing the words more difficult.
i agree. When the opening of the bgm started i was like what?? I think the bgm is not needed. Its already lively here and fun as well.
i agree, it is distracting
longer videos would be ever better.
True but I think that's enough time in that particular lesson.