Skip to content

Commit d4936a5

Browse files
author
Oleksii Korshenko
authored
Updated EAV Attribute code max lenght
- EAV attribute code will be transformed into column name for flat tables. MySQL does not support column name with more than 64 symbols
1 parent 01ca787 commit d4936a5

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 = 255;
26+
const ATTRIBUTE_CODE_MAX_LENGTH = 60;
2727

2828
/**
2929
* Cache tag

0 commit comments

Comments
 (0)