From 814d2cbd74a47c45209fc2c6a8214fc2349b174c Mon Sep 17 00:00:00 2001 From: "allen.yan" Date: Wed, 23 Jul 2025 10:36:44 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A0=E5=85=A5=20song=5Flibrary=5Fcache=20?= =?UTF-8?q?=20enable=20=E7=82=BA1=20=E6=89=8D=E5=8F=96=2020250723?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Jobs/ExportSqliteSongJob.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = [];