<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Support\Facades\DB;

return new class () extends Migration {
    public function up(): void
    {
        DB::table('ec_invoices')
            ->whereIn('status', ['', null])
            ->update(['status' => 'pending']);
    }
};
