PHP Класс RedUNIT\Mysql\Issue411

InnoDB has a maximum index length of 767 bytes, so with utf8mb4 you can only store 191 characters. This means that when you subsequently add an index to the column you get a (not-so-obvious) MySQL-error. That's why we limit the varchar to 191 chars and then switch to TEXT type.
Автор: Gabor de Mooij and the RedBeanPHP Community
Наследование: extends RedUNIT\Mysql
Показать файл Открыть проект

Открытые методы

Метод Описание
testInnoDBIndexLimit ( ) : void Test varchar 191 condition.

Описание методов

testInnoDBIndexLimit() публичный Метод

Test varchar 191 condition.
public testInnoDBIndexLimit ( ) : void
Результат void