Skip to content

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

Migration: add strict_order to funnels (#6238)

Adam Rutkowski9527ed618f76
diff --git a/priv/repo/migrations/20260408120000_add_strict_order_to_funnels.exs b/priv/repo/migrations/20260408120000_add_strict_order_to_funnels.exs
new file mode 100644
index 0000000000..2d969d03fa
--- /dev/null
+++ b/priv/repo/migrations/20260408120000_add_strict_order_to_funnels.exs
@@ -0,0 +1,9 @@
+defmodule Plausible.Repo.Migrations.AddStrictOrderToFunnels do
+ use Ecto.Migration
+
+ def change do
+ alter table(:funnels) do
+ add :strict_order, :boolean, null: false, default: false
+ end
+ end
+end