I have a complete database and need to create migration. I guess there must be a way to do it from a dump but not sure. Is there any way automatically or at least easier to
another solution work for me in Laravel 5.2:
DB::unprepared(File::get('full/path/to/dump.sql'));