30 Days to Learn Laravel, Ep 15 - Understanding Database Seeders

  Рет қаралды 8,040

Laracasts

Laracasts

Күн бұрын

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/...
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

Пікірлер: 15
@i.t.starters2019
@i.t.starters2019 9 ай бұрын
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.
@ivangerginov5648
@ivangerginov5648 9 ай бұрын
Finally I understand the difference. Thank you! 15 days left, I'm excited
@Cellohhh
@Cellohhh 5 ай бұрын
Hey VScode users, I got stuck around the 3:47 mark and it was because I forgot to add "use App\Models\Job;" at the top. As he mentioned multiple times his PHP Storm does this automatically, for the rest of us pleebs we gotta do it manually! Hope this helps!
@jonathanperera5263
@jonathanperera5263 17 күн бұрын
Thank you very much, your comment saved me a lot of time.
@Cellohhh
@Cellohhh 17 күн бұрын
@jonathanperera5263 community effort! 😀👍🏻
@FootballLegendsClips
@FootballLegendsClips 4 ай бұрын
The typing in air always got me hahah
@martin.j.osborne
@martin.j.osborne 9 ай бұрын
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.
@SatoKazumaLvl
@SatoKazumaLvl 9 ай бұрын
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.
@om_pong3218
@om_pong3218 9 ай бұрын
i agree, it is distracting
@abdelahimabuelmaaref3992
@abdelahimabuelmaaref3992 Ай бұрын
Yes, I agree
@coder236
@coder236 9 ай бұрын
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?
@sale7680
@sale7680 5 ай бұрын
I am one of ur student 🥰
@sirinamandadagat2983
@sirinamandadagat2983 9 ай бұрын
Cool humor.
@michalbany5162
@michalbany5162 9 ай бұрын
longer videos would be ever better.
@sirinamandadagat2983
@sirinamandadagat2983 9 ай бұрын
True but I think that's enough time in that particular lesson.
Execute Code After a Response is Returned?
14:00
Laracasts
Рет қаралды 10 М.
Сестра обхитрила!
00:17
Victoria Portfolio
Рет қаралды 958 М.
“Don’t stop the chances.”
00:44
ISSEI / いっせい
Рет қаралды 62 МЛН
Microservices with Databases can be challenging...
20:52
Software Developer Diaries
Рет қаралды 131 М.
Switching to a database in Statamic
3:34
From WordPress to Statamic
Рет қаралды 103
Laravel + Livewire todo app (and so much more)
16:41
Aaron Francis
Рет қаралды 55 М.
How I add millions of rows to MySQL (for performance testing)
11:03