Skip to content

Commit

Permalink
fix: remove course_run from section_problem_engagement primary key
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian2012 committed May 22, 2024
1 parent 7d2a6e9 commit 76fbfb8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions models/problems/section_problem_engagement.sql
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
materialized="materialized_view",
schema=env_var("ASPECTS_XAPI_DATABASE", "xapi"),
engine=get_engine("ReplacingMergeTree()"),
primary_key="(org, course_key, course_run)",
order_by="(org, course_key, course_run, section_block_id, content_level, actor_id)",
primary_key="(org, course_key)",
order_by="(org, course_key, section_block_id, content_level, actor_id)",
)
}}

Expand Down

0 comments on commit 76fbfb8

Please sign in to comment.