20 lines
541 B
Elixir
20 lines
541 B
Elixir
defmodule Plausible.Imported.Location do
|
|
@moduledoc false
|
|
use Ecto.Schema
|
|
|
|
@primary_key false
|
|
schema "imported_locations" do
|
|
field :site_id, Ch, type: "UInt64"
|
|
field :import_id, Ch, type: "UInt64"
|
|
field :date, :date
|
|
field :country, :string
|
|
field :region, :string
|
|
field :city, Ch, type: "UInt64"
|
|
field :visitors, Ch, type: "UInt64"
|
|
field :visits, Ch, type: "UInt64"
|
|
field :visit_duration, Ch, type: "UInt64"
|
|
field :pageviews, Ch, type: "UInt64"
|
|
field :bounces, Ch, type: "UInt32"
|
|
end
|
|
end
|