A simple way to seed a database in Laravel with a .sql dump file
1DB::unprepared(2 file_get_contents(__DIR__ . './dump.sql')3);
Tip given by @w3Nicolas
A simple way to seed a database in Laravel with a .sql dump file
1DB::unprepared(2 file_get_contents(__DIR__ . './dump.sql')3);
Tip given by @w3Nicolas