1
0
Fork 0

Update media:optimize command

This commit is contained in:
Daniel Supernault 2019-08-20 22:22:25 -06:00
parent bd05f63dec
commit 9524ea19f5
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7
1 changed files with 1 additions and 0 deletions

View File

@ -42,6 +42,7 @@ class CatchUnoptimizedMedia extends Command
{
DB::transaction(function() {
Media::whereNull('processed_at')
->whereNull('remote_url')
->whereNotNull('status_id')
->whereNotNull('media_path')
->whereIn('mime', [