Skip to content

Commit 230e6e3

Browse files
committed
Update User schema with a field required by teams migration
1 parent 023c7ac commit 230e6e3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/plausible/auth/user.ex

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,11 @@ defmodule Plausible.Auth.User do
4747
has_many :owner_memberships, Plausible.Teams.Membership, where: [role: :owner]
4848
has_many :owned_teams, through: [:owner_memberships, :team]
4949

50+
on_ce do
51+
# we only need this for backfill teams migration to work; let's figure out how to safely remove later on
52+
field :trial_expiry_date, :date
53+
end
54+
5055
timestamps()
5156
end
5257

0 commit comments

Comments
 (0)