Fix mysql migration