Skip to content

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

Add `dynamic_steps` to `funnels` db schema (#6761)

Adrian Gruntkowski2c99a2952bff
diff --git a/priv/repo/migrations/20260921183042_add_dynamic_steps_to_funnels.exs b/priv/repo/migrations/20260921183042_add_dynamic_steps_to_funnels.exs
new file mode 100644
index 0000000000..f5f5b1aefd
--- /dev/null
+++ b/priv/repo/migrations/20260921183042_add_dynamic_steps_to_funnels.exs
@@ -0,0 +1,13 @@
+defmodule Plausible.Repo.Migrations.AddDynamicStepsToFunnels do
+ use Ecto.Migration
+
+ import Plausible.MigrationUtils
+
+ def change do
+ if enterprise_edition?() do
+ alter table(:funnels) do
+ add :dynamic_steps, :map
+ end
+ end
+ end
+end