diff --git a/app/Jobs/ExportSqliteSongJob.php b/app/Jobs/ExportSqliteSongJob.php index 66dcaf4..c694465 100644 --- a/app/Jobs/ExportSqliteSongJob.php +++ b/app/Jobs/ExportSqliteSongJob.php @@ -78,7 +78,7 @@ class ExportSqliteSongJob implements ShouldQueue $totalInserted = 0; - Song::with(['artists', 'categories'])->chunk(500, function ($songs) use (&$totalInserted, $connectionName) + Song::with(['artists', 'categories'])->where('enable',1)->chunk(500, function ($songs) use (&$totalInserted, $connectionName) { $rows = [];