<?php

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

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

        $bridge->contentTypeCreateOrUpdateField(
            'rops',
            'users',
            [
                'title' => [
                    'fr' => 'Contact',
                    'en' => 'Contact',
                ],
            ]
        );
    }
}
