Reworked migration (MySQL limitations...).