Add migration adding `teams.policy` to CE (#5868)
This commit is contained in:
parent
d0ba8f7bd0
commit
592dc8ed97
|
|
@ -0,0 +1,13 @@
|
|||
defmodule Plausible.Repo.Migrations.AddTeamsPolicyToCe do
|
||||
use Ecto.Migration
|
||||
|
||||
import Plausible.MigrationUtils
|
||||
|
||||
def change do
|
||||
if community_edition?() do
|
||||
alter table(:teams) do
|
||||
add :policy, :jsonb, null: false, default: "{}"
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
Loading…
Reference in New Issue