Skip to content
This repository has been archived by the owner on Oct 31, 2024. It is now read-only.

Commit

Permalink
fixing users table (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
pellicceama authored Oct 29, 2024
1 parent a9e5c72 commit 14ffebb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/meta-service-postgres/makePostgresMetaService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,12 +102,12 @@ export const makePostgresMetaService = zFunction(
SELECT
end_user_id as id,
count(*) AS resource_count,
min(createdAt) AS first_created_at,
max(updatedAt) AS last_updated_at
min(created_at) AS first_created_at,
max(updated_at) AS last_updated_at
FROM
resource
${where}
GROUP BY clientId
GROUP BY end_user_id
`,
rest,
)
Expand Down

0 comments on commit 14ffebb

Please sign in to comment.