Postgres migration to add `allowed_event_props` field to `site` (#2894)
* add migration * add not null constraint * remove not null constraint and default valuepull/2911/head
parent
d161c1be0b
commit
412bf1959e
@ -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…
Reference in New Issue