update session data schema

This commit is contained in:
Francis Cao 2024-08-15 09:28:39 -07:00
parent db25f241c0
commit c79720ae1d
2 changed files with 3 additions and 2 deletions

View File

@ -66,8 +66,8 @@ CREATE TABLE umami.session_data
created_at DateTime('UTC'), created_at DateTime('UTC'),
job_id Nullable(UUID) job_id Nullable(UUID)
) )
ENGINE = MergeTree ENGINE = ReplacingMergeTree
ORDER BY (website_id, session_id, data_key, created_at) ORDER BY (website_id, session_id, data_key)
SETTINGS index_granularity = 8192; SETTINGS index_granularity = 8192;
-- stats hourly -- stats hourly

View File

@ -7,6 +7,7 @@
.header { .header {
font-weight: bold; font-weight: bold;
margin-bottom: 20px;
} }
.empty { .empty {