Skip to content

Create indexes for refactor of impersonation feature [Staging] #2456

@Suvidh-kaushik

Description

@Suvidh-kaushik

** Change the Project ID (<PROJECT_ID>) in the URL **

** Please remove the existing impersonation requests data from staging to avoid inconsistencies **

INDEXES TO BE DELETED

https://console.firebase.google.com/v1/r/project/<PROJECT_ID>/firestore/indexes?create_composite=Cl9wcm9qZWN0cy9yZHMtYmFja2VuZC00ODA5Zi9kYXRhYmFzZXMvKGRlZmF1bHQpL2NvbGxlY3Rpb25Hcm91cHMvaW1wZXJzb25hdGlvblJlcXVlc3RzL2luZGV4ZXMvXxABGhYKEmltcGVyc29uYXRlZFVzZXJJZBABGhsKF2lzSW1wZXJzb25hdGlvbkZpbmlzaGVkEAEaCgoGc3RhdHVzEAEaCgoGdXNlcklkEAEaDQoJY3JlYXRlZEF0EAIaDAoIX19uYW1lX18QAg

INDEXES TO BE CREATED

https://console.firebase.google.com/v1/r/project/<PROJECT_ID>/firestore/indexes?create_composite=Cl9wcm9qZWN0cy9yZHMtYmFja2VuZC00ODA5Zi9kYXRhYmFzZXMvKGRlZmF1bHQpL2NvbGxlY3Rpb25Hcm91cHMvaW1wZXJzb25hdGlvblJlcXVlc3RzL2luZGV4ZXMvXxABGg0KCWNyZWF0ZWRCeRABGg4KCmNyZWF0ZWRGb3IQARobChdpc0ltcGVyc29uYXRpb25GaW5pc2hlZBABGgoKBnN0YXR1cxABGg0KCWNyZWF0ZWRBdBACGgwKCF9fbmFtZV9fEAI

These indexes are required for refactoring of impersonation feature

  • refactors the createdBy and createdFor to store userId instead of username
  • filtering of requests has also been updated to use id instead of username

Issue Ticket

PR merged

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions