diff --git a/src/schema/resources/team.ts b/src/schema/resources/team.ts index 87f25ba..a1d1e02 100644 --- a/src/schema/resources/team.ts +++ b/src/schema/resources/team.ts @@ -34,7 +34,7 @@ const team = /* surrealql */ ` $auth.id IN players.* OR ((id)->attends->event[?organiser.managers.user CONTAINS $auth.id])[0]; - DEFINE INDEX compound_players ON team FIELDS players; + -- DEFINE INDEX compound_players ON team FIELDS players; `; export const Team = z.object({