mirror of
https://github.com/plausible/analytics.git
synced 2024-12-25 10:33:01 +03:00
15 lines
260 B
Elixir
15 lines
260 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
|