cleaning up id columns in mysql. Not sure if this is needed in postgres.