Postgres migration to add `allowed_event_props` field to `site` (#2894)

* add migration

* add not null constraint

* remove not null constraint and default value
pull/2911/head
RobertJoonas 4 years ago committed by GitHub
parent d161c1be0b
commit 412bf1959e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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
Loading…
Cancel
Save