mirror of
https://github.com/plausible/analytics.git
synced 2024-12-27 03:21:37 +03:00
15 lines
338 B
Elixir
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
|