Skip to content

Commit f12431d

Browse files
author
Oleksii Korshenko
authored
MAGETWO-70594: Update max length for attribute_code (30 to 255) #10199
2 parents f215f3d + ee80079 commit f12431d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Eav/Model/Entity/Attribute.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class Attribute extends \Magento\Eav\Model\Entity\Attribute\AbstractAttribute im
2323
/**
2424
* Attribute code max length
2525
*/
26-
const ATTRIBUTE_CODE_MAX_LENGTH = 30;
26+
const ATTRIBUTE_CODE_MAX_LENGTH = 255;
2727

2828
/**
2929
* Cache tag

0 commit comments

Comments
 (0)