@@ -5,7 +5,6 @@ |
||
| 5 | 5 | use Carbon\Carbon; |
| 6 | 6 | use Illuminate\Filesystem\FilesystemAdapter as Disk; |
| 7 | 7 | use Illuminate\Support\Facades\DB; |
| 8 | -use Illuminate\Support\Facades\File; |
|
| 9 | 8 | use Illuminate\Support\Facades\Storage; |
| 10 | 9 | use Spatie\DbSnapshots\Events\DeletedSnapshot; |
| 11 | 10 | use Spatie\DbSnapshots\Events\DeletingSnapshot; |
@@ -85,6 +85,9 @@ |
||
| 85 | 85 | $this->streamFileIntoDB($dumpFilePath, $connectionName); |
| 86 | 86 | } |
| 87 | 87 | |
| 88 | + /** |
|
| 89 | + * @param string $path |
|
| 90 | + */ |
|
| 88 | 91 | public function streamFileIntoDB($path, string $connectionName = null) |
| 89 | 92 | { |
| 90 | 93 | if ($connectionName !== null) { |