mirror of
https://github.com/plausible/analytics.git
synced 2024-11-30 00:58:54 +03:00
17 lines
365 B
Elixir
17 lines
365 B
Elixir
defmodule Plausible.Repo.Migrations.AddPageviews do
|
|
use Ecto.Migration
|
|
|
|
def change do
|
|
create table(:pageviews) do
|
|
add :hostname, :text, null: false
|
|
add :pathname, :text, null: false
|
|
add :referrer, :text
|
|
add :user_agent, :text
|
|
add :screen_width, :integer
|
|
add :screen_height, :integer
|
|
|
|
timestamps()
|
|
end
|
|
end
|
|
end
|