Migration: make `goals.custom_props` non-null (#5945)
This commit is contained in:
parent
e4b282a610
commit
40f0d4bfbf
|
|
@ -0,0 +1,9 @@
|
||||||
|
defmodule Plausible.Repo.Migrations.GoalsCustomPropsDefault do
|
||||||
|
use Ecto.Migration
|
||||||
|
|
||||||
|
def change do
|
||||||
|
alter table(:goals) do
|
||||||
|
modify(:custom_props, :map, null: false, default: %{})
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
Loading…
Reference in New Issue