Updated roleName col length in entity metadata definition

This commit is contained in:
Alejandro Celaya 2021-01-18 17:22:09 +01:00
parent 8132113ed9
commit 45d162e71a

View File

@ -24,7 +24,7 @@ return static function (ClassMetadata $metadata, array $emConfig): void {
$builder->createField('roleName', Types::STRING) $builder->createField('roleName', Types::STRING)
->columnName('role_name') ->columnName('role_name')
->length(256) ->length(255)
->nullable(false) ->nullable(false)
->build(); ->build();