Fix merge request migration for postgres