From 45d162e71aa50460bf17a573addc1db429123cd3 Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Mon, 18 Jan 2021 17:22:09 +0100 Subject: [PATCH] Updated roleName col length in entity metadata definition --- .../Shlinkio.Shlink.Rest.Entity.ApiKeyRole.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/Rest/config/entities-mappings/Shlinkio.Shlink.Rest.Entity.ApiKeyRole.php b/module/Rest/config/entities-mappings/Shlinkio.Shlink.Rest.Entity.ApiKeyRole.php index 9c6355e3..b7787b1a 100644 --- a/module/Rest/config/entities-mappings/Shlinkio.Shlink.Rest.Entity.ApiKeyRole.php +++ b/module/Rest/config/entities-mappings/Shlinkio.Shlink.Rest.Entity.ApiKeyRole.php @@ -24,7 +24,7 @@ return static function (ClassMetadata $metadata, array $emConfig): void { $builder->createField('roleName', Types::STRING) ->columnName('role_name') - ->length(256) + ->length(255) ->nullable(false) ->build();