analytics/priv/repo/migrations/20190118154210_add_derived_data_to_pageviews.exs

15 lines
338 B
Elixir
Raw Normal View History

2019-09-02 14:29:19 +03:00
defmodule Plausible.Repo.Migrations.AddDerivedDataToPageviews do
use Ecto.Migration
use Plausible.Repo
def change do
alter table(:pageviews) do
add :device_type, :string
add :browser, :string
add :operating_system, :string
add :referrer_source, :string
add :screen_size, :string
end
end
end