analytics/priv/repo/migrations/20190117135714_add_uid_to_pageviews.exs

11 lines
209 B
Elixir
Raw Normal View History

2019-09-02 14:29:19 +03:00
defmodule Plausible.Repo.Migrations.AddUidToPageviews do
use Ecto.Migration
use Plausible.Repo
def change do
alter table(:pageviews) do
add :user_id, :binary_id, null: false
2019-09-02 14:29:19 +03:00
end
end
end