<?php

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

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

        $bridge->updateFieldOptions('documents', 'file', [
            'translatable' => true,
        ]);
    }
}
