<?php

declare(strict_types=1);

use Doctrine\ORM\Mapping\ClassMetadata;

$metadata->mapField(
    [
        'id'                 => true,
        'fieldName'          => 'id',
        'columnDefinition'   => 'INT unsigned NOT NULL',
    ]
);

$metadata->mapField(
    [
        'fieldName'         => 'value',
        'columnDefinition'  => 'VARCHAR(255) NOT NULL',
    ]
);

$metadata->setIdGeneratorType(ClassMetadata::GENERATOR_TYPE_NONE);
