Fixes migrations for MySQL