fixed import

This commit is contained in:
Simon Pocrnjič
2025-12-28 13:55:09 +01:00
parent 84b75143df
commit 36b63a180d
9 changed files with 548 additions and 34 deletions
+18
View File
@@ -0,0 +1,18 @@
<?php
require __DIR__ . '/vendor/autoload.php';
$app = require_once __DIR__ . '/bootstrap/app.php';
$app->make(\Illuminate\Contracts\Console\Kernel::class)->bootstrap();
$uuid = '68c7b8f8-fdf0-4575-9cbc-3ab2b3544d8f';
$import = \App\Models\Import::where('uuid', $uuid)->first();
if ($import) {
$import->status = 'failed';
$import->save();
echo "Import {$uuid} marked as failed\n";
echo "Current status: {$import->status}\n";
} else {
echo "Import not found\n";
}