Quicker Way to Seed Records in Laravel

sanz

Sanz

Posted on June 25, 2020

Quicker Way to Seed Records in Laravel

Sometimes, there might be a situation where you need to insert a lot of test data into the database. Usually for testing purposes and performance in laravel.

However, seeding huge amount of records can take exceptionally long time and is not ideal when you’re in a state where you have to frequently seed database.

So, let’s try to improve the seeding time so that we won’t have a hard time waiting for it to finish.

https://laravelproject.com/optimize-database-seeder-in-laravel-for-faster-seeding/

💖 💪 🙅 🚩
sanz
Sanz

Posted on June 25, 2020

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related