mirror of
https://github.com/plausible/analytics.git
synced 2024-12-26 11:02:52 +03:00
14 lines
259 B
Elixir
14 lines
259 B
Elixir
|
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
|