Make sure pageviews can be inserted
parent
b77d093e3b
commit
7755b8b188
@ -0,0 +1,14 @@
|
||||
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
|
||||
Loading…
Reference in New Issue