Following the tutorial at minute 2:46:20, chatbotsByUser is added in ...view-chatbots/page.tsx
In index.graphql we must add:
chatbotsByUser(clerk_user_id: String!): [Chatbots]
@dbquery(
type: "postgresql"
schema: "public"
query: """
SELECT "clerk_user_id", "created_at", "id", "name" FROM "chatbots" WHERE "clerk_user_id" = $1
"""
configuration: "postgresql_config"
)
followed by updating the schema on the server with the stepzen deploy command.