diff --git a/models/page_views/schema.yml b/models/page_views/schema.yml index 6cdb182..92f0abd 100644 --- a/models/page_views/schema.yml +++ b/models/page_views/schema.yml @@ -14,7 +14,7 @@ snowplow_web_events: - page_view_id relationships: - - {from: page_view_id, to: snowplow_web_page_context, field: page_view_id } + - {from: page_view_id, to: ref('snowplow_web_page_context'), field: page_view_id } # ensure there's actually data here accepted_values: @@ -30,7 +30,7 @@ snowplow_web_events_time: - page_view_id relationships: - - {from: page_view_id, to: snowplow_web_page_context, field: page_view_id } + - {from: page_view_id, to: ref('snowplow_web_page_context'), field: page_view_id } @@ -43,7 +43,7 @@ snowplow_web_events_scroll_depth: - page_view_id relationships: - - {from: page_view_id, to: snowplow_web_page_context, field: page_view_id } + - {from: page_view_id, to: ref('snowplow_web_page_context'), field: page_view_id } snowplow_web_page_context: diff --git a/models/sessions/schema.yml b/models/sessions/schema.yml index 984f061..c3681ef 100644 --- a/models/sessions/schema.yml +++ b/models/sessions/schema.yml @@ -8,4 +8,4 @@ snowplow_sessions: - session_id relationships: - - {from: session_id, to: snowplow_page_views, field: session_id} + - {from: session_id, to: ref('snowplow_page_views'), field: session_id} diff --git a/models/users/schema.yml b/models/users/schema.yml index f45bde1..00dc086 100644 --- a/models/users/schema.yml +++ b/models/users/schema.yml @@ -11,4 +11,4 @@ snowplow_users: - user_snowplow_domain_id relationships: - - {from: user_snowplow_domain_id, to: snowplow_page_views, field: user_snowplow_domain_id } + - {from: user_snowplow_domain_id, to: ref('snowplow_page_views'), field: user_snowplow_domain_id }