analytics/priv/repo/migrations/20200324132431_make_cookie_fields_non_required.exs

15 lines
260 B
Elixir
Raw Normal View History

2020-03-24 16:29:35 +03:00
defmodule Plausible.Repo.Migrations.MakeCookieFieldsNonRequired do
use Ecto.Migration
def up do
alter table(:events) do
modify :new_visitor, :bool, null: true
modify :user_id, :binary_id, null: true
end
end
def down do
end
end