diff --git a/models/stg_dbt_audit_log.sql b/models/stg_dbt_audit_log.sql index 7bd9c29..7b654fa 100644 --- a/models/stg_dbt_audit_log.sql +++ b/models/stg_dbt_audit_log.sql @@ -10,11 +10,11 @@ with_id as ( *, - {{ dbt_utils.surrogate_key( + {{ dbt_utils.surrogate_key([ 'event_name', 'event_model', 'invocation_id' - ) }} as event_id + ]) }} as event_id from audit