Wire admin studio SSR and search infrastructure
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
|
||||
namespace App\Console\Commands;
|
||||
|
||||
use App\Models\User;
|
||||
use Illuminate\Console\Command;
|
||||
use Illuminate\Support\Facades\DB;
|
||||
use Illuminate\Support\Facades\Log;
|
||||
@@ -87,6 +86,8 @@ class ImportLegacyNewsCommand extends Command
|
||||
'is_pinned' => ($row->type ?? 0) == 2,
|
||||
'views' => $row->views ?? 0,
|
||||
'canonical_url' => '/legacy/news/' . ($row->news_id ?? ''),
|
||||
'legacy_news_id' => isset($row->news_id) ? (int) $row->news_id : null,
|
||||
'comments_enabled' => false,
|
||||
];
|
||||
|
||||
if ($dryRun) {
|
||||
|
||||
Reference in New Issue
Block a user