analytics/priv/repo/migrations/20190118154210_add_derived_data_to_pageviews.exs
2019-09-02 12:29:19 +01:00

15 lines
338 B
Elixir

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