Refactoring to have a mysql-migration element.