📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!
TypeScript chartsclickhousedockergdprgoogle-analyticsmetricsmonitoringmysqlnestjsprivacyredisself-hostedselfhostedstatisticstailwindcssweb-analyticswebanalyticswebsite
add new cols
Blue Mouseae46f05e673e
diff --git a/migrations/clickhouse/2022_12_29.js b/migrations/clickhouse/2022_12_29.jsindex c99a69b07..d7b84b3ec 100644--- a/migrations/clickhouse/2022_12_29.js+++ b/migrations/clickhouse/2022_12_29.js@@ -5,10 +5,13 @@ const queries = [`CREATE TABLE IF NOT EXISTS ${dbName}.performance(pid FixedString(12),+ pg Nullable(String),+ dv Nullable(String),+ br Nullable(String),dns Nullable(UInt32),- ssl Nullable(UInt32),+ tls Nullable(UInt32),conn Nullable(UInt32),- resp Nullable(UInt32),+ response Nullable(UInt32),render Nullable(UInt32),domLoad Nullable(UInt32),pageLoad Nullable(UInt32),diff --git a/src/common/constants.ts b/src/common/constants.tsindex e40c7f1cc..8cdfc09b3 100644--- a/src/common/constants.ts+++ b/src/common/constants.ts@@ -77,10 +77,13 @@ const CLICKHOUSE_INIT_QUERIES = [`CREATE TABLE IF NOT EXISTS analytics.performance(pid FixedString(12),+ pg Nullable(String),+ dv Nullable(String),+ br Nullable(String),dns Nullable(UInt32),- ssl Nullable(UInt32),+ tls Nullable(UInt32),conn Nullable(UInt32),- resp Nullable(UInt32),+ response Nullable(UInt32),render Nullable(UInt32),domLoad Nullable(UInt32),pageLoad Nullable(UInt32),