Skip to content

Commit

Permalink
Add functional indices
Browse files Browse the repository at this point in the history
Signed-off-by: Łukasz Gryglicki <[email protected]>
  • Loading branch information
lukaszgryglicki committed Jul 31, 2023
1 parent 9eb9014 commit 5e17f49
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions structure.sql
Original file line number Diff line number Diff line change
Expand Up @@ -2605,6 +2605,8 @@ CREATE INDEX comments_dup_actor_id_idx ON public.gha_comments USING btree (dup_a
--

CREATE INDEX comments_dup_actor_login_idx ON public.gha_comments USING btree (dup_actor_login);
CREATE INDEX comments_lower_dup_actor_login_idx on public.gha_comments(lower(dup_actor_login));
CREATE INDEX comments_lower_dup_user_login_idx on public.gha_comments(lower(dup_user_login));


--
Expand Down Expand Up @@ -2689,6 +2691,8 @@ CREATE INDEX reviews_dup_actor_id_idx ON public.gha_reviews USING btree (dup_act
--

CREATE INDEX reviews_dup_actor_login_idx ON public.gha_reviews USING btree (dup_actor_login);
CREATE INDEX reviews_lower_dup_actor_login_idx on public.gha_reviews(lower(dup_actor_login));
CREATE INDEX reviews_lower_dup_user_login_idx on public.gha_reviews(lower(dup_user_login));


--
Expand Down Expand Up @@ -2801,6 +2805,9 @@ CREATE INDEX commits_dup_actor_id_idx ON public.gha_commits USING btree (dup_act
--

CREATE INDEX commits_dup_actor_login_idx ON public.gha_commits USING btree (dup_actor_login);
CREATE INDEX commits_lower_dup_actor_login_idx on public.gha_commits(lower(dup_actor_login));
CREATE INDEX commits_lower_dup_author_login_idx on public.gha_commits(lower(dup_author_login));
CREATE INDEX commits_lower_dup_committer_login_idx on public.gha_commits(lower(dup_committer_login));


--
Expand Down Expand Up @@ -3039,6 +3046,7 @@ CREATE INDEX events_created_at_idx ON public.gha_events USING btree (created_at)
--

CREATE INDEX events_dup_actor_login_idx ON public.gha_events USING btree (dup_actor_login);
CREATE INDEX events_lower_dup_actor_login_idx ON public.gha_events(lower(dup_actor_login));


--
Expand Down Expand Up @@ -3207,6 +3215,9 @@ CREATE INDEX issues_dup_actor_id_idx ON public.gha_issues USING btree (dup_actor
--

CREATE INDEX issues_dup_actor_login_idx ON public.gha_issues USING btree (dup_actor_login);
CREATE INDEX issues_lower_dup_actor_login_idx on public.gha_issues(lower(dup_actor_login));
CREATE INDEX issues_lower_dup_user_login_idx on public.gha_issues(lower(dup_user_login));
CREATE INDEX issues_labels_lower_dup_actor_login_idx on public.gha_issues_labels(lower(dup_actor_login));


--
Expand Down Expand Up @@ -3354,6 +3365,7 @@ CREATE INDEX issues_labels_dup_actor_id_idx ON public.gha_issues_labels USING bt
--

CREATE INDEX issues_labels_dup_actor_login_idx ON public.gha_issues_labels USING btree (dup_actor_login);
CREATE INDEX issues_labels_lower_dup_actor_login_idx on public.gha_issues_labels(lower(dup_actor_login));


--
Expand Down Expand Up @@ -3816,6 +3828,9 @@ CREATE INDEX pull_requests_dup_actor_id_idx ON public.gha_pull_requests USING bt
--

CREATE INDEX pull_requests_dup_actor_login_idx ON public.gha_pull_requests USING btree (dup_actor_login);
CREATE INDEX pull_requests_lower_dup_actor_login_idx on public.gha_pull_requests(lower(dup_actor_login));
CREATE INDEX pull_requests_lower_dup_user_login_idx on public.gha_pull_requests(lower(dup_user_login));
CREATE INDEX pull_requests_lower_dupn_merged_by_login_idx on public.gha_pull_requests(lower(dupn_merged_by_login));


--
Expand Down Expand Up @@ -4201,6 +4216,7 @@ CREATE INDEX texts_actor_id_idx ON public.gha_texts USING btree (actor_id);
--

CREATE INDEX texts_actor_login_idx ON public.gha_texts USING btree (actor_login);
CREATE INDEX texts_lower_actor_login_idx on public.gha_texts(lower(actor_login));


--
Expand Down

0 comments on commit 5e17f49

Please sign in to comment.