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
Postgres migration to add `allowed_event_props` field to `site` (#2894)
RobertJoonas412bf1959eeb
diff --git a/priv/repo/migrations/20230503094245_add_event_prop_allowlist_to_site.exs b/priv/repo/migrations/20230503094245_add_event_prop_allowlist_to_site.exsnew file mode 100644index 0000000000..5e122511a9--- /dev/null+++ b/priv/repo/migrations/20230503094245_add_event_prop_allowlist_to_site.exs@@ -0,0 +1,9 @@+defmodule Plausible.Repo.Migrations.AddEventPropAllowlistToSite do+ use Ecto.Migration++ def change do+ alter table("sites") do+ add :allowed_event_props, {:array, :string}+ end+ end+end