diff --git a/models/intermediate/core/int_core__accommodation_to_product_bundle.sql b/models/intermediate/core/int_core__accommodation_to_product_bundle.sql index afb967d..3b262f6 100644 --- a/models/intermediate/core/int_core__accommodation_to_product_bundle.sql +++ b/models/intermediate/core/int_core__accommodation_to_product_bundle.sql @@ -12,8 +12,8 @@ select atpb.id_user_product_bundle, upb.id_user_host, upb.product_bundle_display_name as user_product_bundle_name, - atpb.starts_at_utc as start_at_utc, - atpb.ends_at_utc as end_at_utc, + atpb.starts_at_utc, + atpb.ends_at_utc, date(atpb.starts_at_utc) as start_date_utc, date(atpb.ends_at_utc) as end_date_utc, atpb.has_no_end_date, diff --git a/models/intermediate/core/schema.yml b/models/intermediate/core/schema.yml index ba08316..6211fda 100644 --- a/models/intermediate/core/schema.yml +++ b/models/intermediate/core/schema.yml @@ -2183,7 +2183,7 @@ models: description: | The name of the Product Bundle. - - name: start_at_utc + - name: starts_at_utc data_type: timestamp description: | Timestamp of when this Product Bundle is assigned into an Accommodation was @@ -2191,7 +2191,7 @@ models: data_tests: - not_null - - name: end_at_utc + - name: ends_at_utc data_type: timestamp description: | Timestamp of when this Product Bundle is assigned into an Accommodation was