fixed specialty table migration when running with mysql offset