truncate(); $sqlFilePath = database_path('dynamic_content/sections.sql'); $sql = file_get_contents($sqlFilePath); DB::unprepared($sql); Cache::flush(); $this->command->info('sections.sql import complete.'); } }