I want to insert 30K records to my table. I have the .sql file for the same table and want to do with laravel seeder.
DB::disableQueryLog();
DB::unprepared(file_get_contents('database/seeds/sql/inv_diagnostic_fe.sql'));
Its only inserting 338 rows. what happening after the insertion of 338 ? How can I fix this issue ?