fix other migration to works with pg