RealDevSquad / RealDevSquad/website-backend

Add Index for Extension Requests Collection in Staging

Open
#1,608 1 comment 0 reactions 1 assignee View on GitHub

@prakashchoudhary07 is already working on this.

Since Oct 14, 2023.

Dominant language
JavaScript
Stars
74
Forks
276
Avg merge
1d 26m
Merged PRs (30d)
14

Description

The extensionRequests collection requires additional indexing to fetch the latest extension request based on taskId and timestamp. This link provided below adds the necessary composite index for the following fields:

taskId (Ascending)
timestamp (Descending)
name (Descending)

Link for creating the index :

https://console.firebase.google.com/v1/r/project/rds-backend-9d101/firestore/indexes?create_composite=CmZwcm9qZWN0cy9yZHMtYmFja2VuZC05ZDEwMS9kYXRhYmFzZXMvKGRlZmF1bHQpL2NvbGxlY3Rpb25Hcm91cHMvZXh0ZW5zaW9uUmVxdWVzdHMvaW5kZXhlcy9DSUNBZ0ppSGdva0sQARoKCgZ0YXNrSWQQARoNCgl0aW1lc3RhbXAQAhoMCghfX25hbWVfXxAC

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.