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

Commit

Permalink
Add alias to make Postgres happy
Browse files Browse the repository at this point in the history
  • Loading branch information
reivilibre committed Jul 15, 2021
1 parent 92d215c commit 9353939
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion synapse/storage/databases/main/metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ def _count_r30v2_users(txn):
user_id
HAVING
max(timestamp) - min(timestamp) > (CAST(? AS BIGINT) * 1000)
)
) AS r30_users
"""

txn.execute(
Expand Down

0 comments on commit 9353939

Please sign in to comment.