RealDevSquad / RealDevSquad/website-backend

[Staging] Create Indexes for userStatus collection

Open Beginner friendly
#2,604 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Description
  • We need to add the following index in the firestore Collection: usersStatus
    Fields indexed:
    • futureStatus.state (Ascending)
    • futureStatus.from (Ascending)
Image
  • https://console.firebase.google.com/v1/r/project/<Project:id/firestore/indexes?create_composite=Cllwcm9qZWN0cy9yZHMtd2ViLWJhY2tlbmQtMjYzZDMvZGF0YWJhc2VzLyhkZWZhdWx0KS9jb2xsZWN0aW9uR3JvdXBzL3VzZXJzU3RhdHVzL2luZGV4ZXMvXxABGhYKEmZ1dHVyZVN0YXR1cy5zdGF0ZRABGhUKEWZ1dHVyZVN0YXR1cy5mcm9tEAEaDAoIX19uYW1lX18QAQ

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.

Research direction

Open the provided Firebase Console link for the staging project and review the usersStatus collection index configuration. Create the composite index for futureStatus.state ascending and futureStatus.from ascending; done means the requested index is present and the Firestore index deployment has completed.

Written by the indexing model from the issue text.

Assessment

Tech stack
firebase
Domain
database
Issue type
Feature
Difficulty
1/5
Estimated time
Under an hour
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
78/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.