<?php

use Illuminate\Database\Migrations\Migration;
use Inside\Host\Bridge\BridgeContentType;

class SetIsMaintenanceAsSearchable extends Migration
{
    public function up(): void
    {
        $bridge = new BridgeContentType();

        $bridge->updateFieldOptions('users', 'is_maintenance', [
            'searchable' => true,
            'searchable_filter' => true,
        ]);
    }
}
