Skip to content

Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.

Channels: `click_id_param` column (#4703)

Karl-Aksel Puulmann4e10efe72387
diff --git a/priv/ingest_repo/migrations/20241020114559_add_click_id_param.exs b/priv/ingest_repo/migrations/20241020114559_add_click_id_param.exs
new file mode 100644
index 0000000000..96930c76e0
--- /dev/null
+++ b/priv/ingest_repo/migrations/20241020114559_add_click_id_param.exs
@@ -0,0 +1,13 @@
+defmodule Plausible.IngestRepo.Migrations.AddClickIdParam do
+ use Ecto.Migration
+
+ def change do
+ alter table(:events_v2) do
+ add :click_id_param, :"LowCardinality(String)"
+ end
+
+ alter table(:sessions_v2) do
+ add :click_id_param, :"LowCardinality(String)"
+ end
+ end
+end