mirror of
https://github.com/plausible/analytics.git
synced 2024-11-22 02:27:57 +03:00
Set default: false
on allow_next_upgrade_override
in Team and User scheams (#4808)
Co-authored-by: Adrian Gruntkowski <adrian.gruntkowski@gmail.com>
This commit is contained in:
parent
e31aeff721
commit
fbafa9534f
@ -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: false
|
||||
|
@ -16,7 +16,7 @@ defmodule Plausible.Teams.Team do
|
||||
field :name, :string
|
||||
field :trial_expiry_date, :date
|
||||
field :accept_traffic_until, :date
|
||||
field :allow_next_upgrade_override, :boolean
|
||||
field :allow_next_upgrade_override, :boolean, default: false
|
||||
|
||||
embeds_one :grace_period, Plausible.Auth.GracePeriod, on_replace: :update
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user