Skip to content

Commit

Permalink
Add index for session aggregation materialized view
Browse files Browse the repository at this point in the history
  • Loading branch information
davidvanleeuwen committed Feb 27, 2024
1 parent f03a7d3 commit 7236137
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
defmodule MaveMetrics.Repo.Migrations.AddIndexForDailySessionView do
use Ecto.Migration

def change do
excute("CREATE INDEX ON daily_session_aggregation (video_id, session_date)")
end
end

0 comments on commit 7236137

Please sign in to comment.