notification-bug-fix #114
| @ -1,133 +1,5 @@ | |||||||
| { | { | ||||||
|   "indexes": [ |   "indexes": [ | ||||||
|     { |  | ||||||
|       "collectionGroup": "day_pass_bookings", |  | ||||||
|       "queryScope": "COLLECTION", |  | ||||||
|       "fields": [ |  | ||||||
|         { |  | ||||||
|           "fieldPath": "userId", |  | ||||||
|           "order": "ASCENDING" |  | ||||||
|         }, |  | ||||||
|         { |  | ||||||
|           "fieldPath": "createdAt", |  | ||||||
|           "order": "DESCENDING" |  | ||||||
|         } |  | ||||||
|       ] |  | ||||||
|     }, |  | ||||||
|     { |  | ||||||
|       "collectionGroup": "day_pass_entries", |  | ||||||
|       "queryScope": "COLLECTION", |  | ||||||
|       "fields": [ |  | ||||||
|         { |  | ||||||
|           "fieldPath": "bookingId", |  | ||||||
|           "order": "ASCENDING" |  | ||||||
|         }, |  | ||||||
|         { |  | ||||||
|           "fieldPath": "entryDate", |  | ||||||
|           "order": "ASCENDING" |  | ||||||
|         } |  | ||||||
|       ] |  | ||||||
|     }, |  | ||||||
|     { |  | ||||||
|       "collectionGroup": "gyms", |  | ||||||
|       "queryScope": "COLLECTION", |  | ||||||
|       "fields": [ |  | ||||||
|         { |  | ||||||
|           "fieldPath": "userId", |  | ||||||
|           "order": "ASCENDING" |  | ||||||
|         }, |  | ||||||
|         { |  | ||||||
|           "fieldPath": "name", |  | ||||||
|           "order": "ASCENDING" |  | ||||||
|         } |  | ||||||
|       ] |  | ||||||
|     }, |  | ||||||
|     { |  | ||||||
|       "collectionGroup": "gyms", |  | ||||||
|       "queryScope": "COLLECTION_GROUP", |  | ||||||
|       "fields": [ |  | ||||||
|         { |  | ||||||
|           "fieldPath": "userId", |  | ||||||
|           "order": "ASCENDING" |  | ||||||
|         }, |  | ||||||
|         { |  | ||||||
|           "fieldPath": "createdAt", |  | ||||||
|           "order": "DESCENDING" |  | ||||||
|         } |  | ||||||
|       ] |  | ||||||
|     }, |  | ||||||
|     { |  | ||||||
|       "collectionGroup": "gyms", |  | ||||||
|       "queryScope": "COLLECTION_GROUP", |  | ||||||
|       "fields": [ |  | ||||||
|         { |  | ||||||
|           "fieldPath": "userId", |  | ||||||
|           "order": "ASCENDING" |  | ||||||
|         }, |  | ||||||
|         { |  | ||||||
|           "fieldPath": "createdAt", |  | ||||||
|           "order": "ASCENDING" |  | ||||||
|         } |  | ||||||
|       ] |  | ||||||
|     }, |  | ||||||
|     { |  | ||||||
|       "collectionGroup": "gyms", |  | ||||||
|       "queryScope": "COLLECTION_GROUP", |  | ||||||
|       "fields": [ |  | ||||||
|         { |  | ||||||
|           "fieldPath": "isApproved", |  | ||||||
|           "order": "ASCENDING" |  | ||||||
|         }, |  | ||||||
|         { |  | ||||||
|           "fieldPath": "createdAt", |  | ||||||
|           "order": "ASCENDING" |  | ||||||
|         } |  | ||||||
|       ] |  | ||||||
|     }, |  | ||||||
|     { |  | ||||||
|       "collectionGroup": "memberships", |  | ||||||
|       "queryScope": "COLLECTION", |  | ||||||
|       "fields": [ |  | ||||||
|         { |  | ||||||
|           "fieldPath": "gymId", |  | ||||||
|           "order": "ASCENDING" |  | ||||||
|         }, |  | ||||||
|         { |  | ||||||
|           "fieldPath": "createdAt", |  | ||||||
|           "order": "DESCENDING" |  | ||||||
|         } |  | ||||||
|       ] |  | ||||||
|     }, |  | ||||||
|      |  | ||||||
|     { |  | ||||||
|       "collectionGroup": "workout_logs", |  | ||||||
|       "queryScope": "COLLECTION", |  | ||||||
|       "fields": [ |  | ||||||
|         { |  | ||||||
|           "fieldPath": "user_id", |  | ||||||
|           "order": "ASCENDING" |  | ||||||
|         }, |  | ||||||
|         { |  | ||||||
|           "fieldPath": "date", |  | ||||||
|           "order": "DESCENDING" |  | ||||||
|         } |  | ||||||
|       ] |  | ||||||
|     }, |  | ||||||
|     |  | ||||||
|     { |  | ||||||
|       "collectionGroup": "workout_logs", |  | ||||||
|       "queryScope": "COLLECTION", |  | ||||||
|       "fields": [ |  | ||||||
|         { |  | ||||||
|           "fieldPath": "recipientId", |  | ||||||
|           "order": "ASCENDING" |  | ||||||
|         }, |  | ||||||
|         { |  | ||||||
|           "fieldPath": "date", |  | ||||||
|           "order": "ASCENDING" |  | ||||||
|         } |  | ||||||
|       ] |  | ||||||
|     }, |  | ||||||
|     { |     { | ||||||
|       "collectionGroup": "workout_logs", |       "collectionGroup": "workout_logs", | ||||||
|       "queryScope": "COLLECTION", |       "queryScope": "COLLECTION", | ||||||
| @ -187,8 +59,21 @@ | |||||||
|           "order": "ASCENDING" |           "order": "ASCENDING" | ||||||
|         } |         } | ||||||
|       ] |       ] | ||||||
|  |     }, | ||||||
|  |     { | ||||||
|  |       "collectionGroup": "notifications", | ||||||
|  |       "queryScope": "COLLECTION", | ||||||
|  |       "fields": [ | ||||||
|  |         { | ||||||
|  |           "fieldPath": "recipientId", | ||||||
|  |           "order": "ASCENDING" | ||||||
|  |         }, | ||||||
|  |         { | ||||||
|  |           "fieldPath": "timestamp", | ||||||
|  |           "order": "DESCENDING" | ||||||
|  |         } | ||||||
|  |       ] | ||||||
|     } |     } | ||||||
|   ], |   ], | ||||||
|    |  | ||||||
|   "fieldOverrides": [] |   "fieldOverrides": [] | ||||||
| } | } | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user