Skip to content

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

add migration (#5197)

RobertJoonasdec510da1088
diff --git a/priv/repo/migrations/20250313132408_drop_site_scroll_depth_visible_at.exs b/priv/repo/migrations/20250313132408_drop_site_scroll_depth_visible_at.exs
new file mode 100644
index 0000000000..6368eb5690
--- /dev/null
+++ b/priv/repo/migrations/20250313132408_drop_site_scroll_depth_visible_at.exs
@@ -0,0 +1,9 @@
+defmodule Plausible.Repo.Migrations.DropSiteScrollDepthVisibleAt do
+ use Ecto.Migration
+
+ def change do
+ alter table(:sites) do
+ remove :scroll_depth_visible_at
+ end
+ end
+end