Skip to content

Commit

Permalink
Add tracks_ai_attribution index (#5195)
Browse files Browse the repository at this point in the history
  • Loading branch information
piazzatron committed May 2, 2023
1 parent 0140c75 commit ba109c7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions discovery-provider/alembic/trigger_sql/ddl.sql
Expand Up @@ -135,3 +135,9 @@ BEGIN;
END IF;
END $$;
COMMIT;

-- 5/1/23: add ai_attribution_user_id index

BEGIN;
create index if not exists tracks_ai_attribution_user_id on tracks (ai_attribution_user_id, is_current) where is_current = true and ai_attribution_user_id is not null;
COMMIT;

0 comments on commit ba109c7

Please sign in to comment.