DatabaseSeeder error
This commit is contained in:
parent
c7f1b46714
commit
cac2263a4f
@ -19,6 +19,7 @@
|
|||||||
use App\Services\RepuveService;
|
use App\Services\RepuveService;
|
||||||
use App\Services\PadronEstatalService;
|
use App\Services\PadronEstatalService;
|
||||||
use Exception;
|
use Exception;
|
||||||
|
use Illuminate\Support\Facades\Auth;
|
||||||
|
|
||||||
class UpdateController extends Controller
|
class UpdateController extends Controller
|
||||||
{
|
{
|
||||||
@ -264,7 +265,7 @@ public function vehicleUpdate(VehicleUpdateRequest $request)
|
|||||||
'cancellation_reason' => 'Otro',
|
'cancellation_reason' => 'Otro',
|
||||||
'cancellation_observations' => 'Reemplazo automático al actualizar datos del vehículo: '. $newTag->tag_number,
|
'cancellation_observations' => 'Reemplazo automático al actualizar datos del vehículo: '. $newTag->tag_number,
|
||||||
'cancellation_at' => now(),
|
'cancellation_at' => now(),
|
||||||
'cancelled_by' => auth()->id(),
|
'cancelled_by' => Auth::id(),
|
||||||
]);
|
]);
|
||||||
|
|
||||||
$currentTag->markAsCancelled();
|
$currentTag->markAsCancelled();
|
||||||
|
|||||||
@ -23,7 +23,6 @@ public function run(): void
|
|||||||
$this->call(RoleSeeder::class);
|
$this->call(RoleSeeder::class);
|
||||||
$this->call(UserSeeder::class);
|
$this->call(UserSeeder::class);
|
||||||
$this->call(SettingSeeder::class);
|
$this->call(SettingSeeder::class);
|
||||||
$this->call(ErrorSeeder::class);
|
|
||||||
$this->call(CatalogNameImgSeeder::class);
|
$this->call(CatalogNameImgSeeder::class);
|
||||||
$this->call(MunicipalitySeeder::class);
|
$this->call(MunicipalitySeeder::class);
|
||||||
$this->call(ModuleSeeder::class);
|
$this->call(ModuleSeeder::class);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user