fixed migration (incorrect types that makes PG:ERROR)