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
Migrations for open first-and-last funnels feature (#6700)
Adrian Gruntkowski94be51c7458d
diff --git a/priv/repo/migrations/20260909121418_add_first_and_last_to_funnels.exs b/priv/repo/migrations/20260909121418_add_first_and_last_to_funnels.exsnew file mode 100644index 0000000000..06bc885ac5--- /dev/null+++ b/priv/repo/migrations/20260909121418_add_first_and_last_to_funnels.exs@@ -0,0 +1,9 @@+defmodule Plausible.Repo.Migrations.AddFirstAndLastToFunnels do+ use Ecto.Migration++ def change do+ alter table(:funnels) do+ add :first_and_last, :boolean, null: false, default: false+ end+ end+enddiff --git a/priv/repo/migrations/20260921080122_add_funnel_type_to_funnels.exs b/priv/repo/migrations/20260921080122_add_funnel_type_to_funnels.exsnew file mode 100644index 0000000000..980c3cab4f--- /dev/null+++ b/priv/repo/migrations/20260921080122_add_funnel_type_to_funnels.exs@@ -0,0 +1,9 @@+defmodule Plausible.Repo.Migrations.AddFunnelTypeToFunnels do+ use Ecto.Migration++ def change do+ alter table(:funnels) do+ add :funnel_type, :string, null: false, default: "sequential"+ end+ end+end