migrations icon indicating copy to clipboard operation
migrations copied to clipboard

[BugFix] Migration log index size fix

Open rodriguez-loic opened this issue 1 year ago • 0 comments

https://github.com/phalcon/migrations/blob/69c1ea982a94e13510201e642e408dea9d554539/src/Migrations.php#L734

This line should either be configurable dynamically or modified back to a value <=191. (maybe a check on the collation settings from the configuration could do it) Because of the evolution of MySQL Engines, the default utf8 charset used today is utf8mb4 which doesn't allow such length for VARCHAR type.

This issue was already fixed in an old version of phalcon devtools: https://github.com/phalcon/phalcon-devtools/pull/1293

rodriguez-loic avatar Feb 18 '24 20:02 rodriguez-loic