Add index for projects API default param
This if the default query for the unauthenticated user: ```sql SELECT "projects".* FROM "projects" WHERE "projects"."visibility_level" = 20 AND "projects"."pending_delete" = FALSE ORDER BY "projects"."created_at" DESC, "projects"."id" DESC LIMIT 20 OFFSET 0 ``` We also remove the existing, now redundant index. Relates to https://gitlab.com/gitlab-org/gitlab/issues/36135
Showing
Please register or sign in to comment