mirror of
https://github.com/plausible/analytics.git
synced 2025-01-03 15:17:58 +03:00
Postgres migration to add allowed_event_props
field to site
(#2894)
* add migration * add not null constraint * remove not null constraint and default value
This commit is contained in:
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
Block a user