Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.
TypeScript analyticsanalytics-dashboardclickhouseelixirgoogle-analyticsmarketingopen-source-analyticsphoenixplausible-analyticspostgresqlprivacyprivacy-friendlyself-hostedsimple-analyticsstatisticstailwindcssweb-analyticswebsite-analyticswebsite-statswebsite-tracking
migration: add scroll_depth to events_v2 (#4827)
RobertJoonase93c97de1ede
diff --git a/priv/ingest_repo/migrations/20241028142653_add_scroll_depth_to_events.exs b/priv/ingest_repo/migrations/20241028142653_add_scroll_depth_to_events.exsnew file mode 100644index 0000000000..0904db3623--- /dev/null+++ b/priv/ingest_repo/migrations/20241028142653_add_scroll_depth_to_events.exs@@ -0,0 +1,9 @@+defmodule Plausible.IngestRepo.Migrations.AddScrollDepthToEvents do+ use Ecto.Migration++ def change do+ alter table(:events_v2) do+ add :scroll_depth, :UInt8+ end+ end+end