feat(root): added migrations and optimized profile table

This commit is contained in:
Carl-Gerhard Lindesvärd
2024-09-10 10:08:26 +02:00
committed by Carl-Gerhard Lindesvärd
parent 2258fed24a
commit b44f1958a2
22 changed files with 280 additions and 169 deletions

View File

@@ -121,7 +121,7 @@ export function getRollingActiveUsers({
FROM
(
SELECT *
FROM dau_mv
FROM ${TABLE_NAMES.dau_mv}
WHERE project_id = ${escape(projectId)}
)
ARRAY JOIN range(${days}) AS n