When I trying apply migration on Mysql database version 5.5 which is utf8mb4 encoded - it fails with messages:
'SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes
The SQL being executed was: ALTER TABLE `error_hub` ADD CONSTRAINT `pd_id` PRIMARY KEY (`id`)'
'SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes
The SQL being executed was: ALTER TABLE `error_hub` ADD UNIQUE INDEX `i_issue_id` (`issue_id`)'
One of the solutions - use limitation to varchar indexed fields: VARCHAR(191):
When I trying apply migration on Mysql database version 5.5 which is utf8mb4 encoded - it fails with messages:
One of the solutions - use limitation to varchar indexed fields: VARCHAR(191):