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

Commit 9353939

Browse files
committed
Add alias to make Postgres happy
1 parent 92d215c commit 9353939

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

synapse/storage/databases/main/metrics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ def _count_r30v2_users(txn):
417417
user_id
418418
HAVING
419419
max(timestamp) - min(timestamp) > (CAST(? AS BIGINT) * 1000)
420-
)
420+
) AS r30_users
421421
"""
422422

423423
txn.execute(

0 commit comments

Comments
 (0)