Laravel tip about factories/seeds.

name6956

name6956@Aidi225

PHP Laravel Tip

If you have a hasMany relationship and want to seed a parent record with X children records, here are the two options.