Merged PR 4723: Adding id_deal

# Description

Added `id_deal` to edeposit models for Invoice reporting

# Checklist

- [x] The edited models and dependants run properly with production data.
- [x] The edited models are sufficiently documented.
- [x] The edited models contain PK tests, and I've ran and passed them.
- [ ] I have checked for DRY opportunities with other models and docs.
- [ ] I've picked the right materialization for the affected models.

# Other

- [x] Check if a full-refresh is required after this PR is merged.

Adding id_deal

Related work items: #28239
This commit is contained in:
Joaquin Ossa 2025-03-19 15:50:37 +00:00
commit 9e59fa4933
5 changed files with 64 additions and 41 deletions

View file

@ -7,6 +7,7 @@ select
vf.id_verification as id_verification,
vf.id_booking as id_booking,
vf.id_user_partner as id_user_partner,
vf.id_deal as id_deal,
vf.id_accommodation as id_accommodation,
vf.listing_town as listing_town,
vf.listing_country as listing_country,

View file

@ -30,6 +30,12 @@ models:
data_tests:
- not_null
- name: id_deal
data_type: text
description: "unique Superhog generated id for a deal"
data_tests:
- not_null
- name: id_accommodation
data_type: text
description: "unique Superhog generated id for a listing"