Fix merge_request_diffs migrations for postgresql