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
Set `default: false` on `allow_next_upgrade_override` in Team and User scheams (#4808)
hq1fbafa9534f75
diff --git a/lib/plausible/auth/user.ex b/lib/plausible/auth/user.exindex 00aaed6390..a0682ca91f 100644--- a/lib/plausible/auth/user.ex+++ b/lib/plausible/auth/user.ex@@ -41,7 +41,7 @@ defmodule Plausible.Auth.User do# A field only used as a manual override - allow subscribing# to any plan, even when exceeding its pageview limit- field :allow_next_upgrade_override, :boolean+ field :allow_next_upgrade_override, :boolean, default: false# Fields for TOTP authentication. See `Plausible.Auth.TOTP`.field :totp_enabled, :boolean, default: falsediff --git a/lib/plausible/teams/team.ex b/lib/plausible/teams/team.exindex 153849e495..9c99851851 100644--- a/lib/plausible/teams/team.ex+++ b/lib/plausible/teams/team.ex@@ -16,7 +16,7 @@ defmodule Plausible.Teams.Team dofield :name, :stringfield :trial_expiry_date, :datefield :accept_traffic_until, :date- field :allow_next_upgrade_override, :boolean+ field :allow_next_upgrade_override, :boolean, default: falseembeds_one :grace_period, Plausible.Auth.GracePeriod, on_replace: :update