Laravel - Database Basics and Migrations
You want to seed your database with 100 users having random names and emails using Laravel factories inside a seeder. Which code snippet correctly achieves this inside the
run method?run method?User::factory()->count(100)->create(); to generate and save 100 users.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions