~ihabunek/triglav

ref: d1b5915f3e023d04850eabf702bda7207a337302 triglav/lib/triglav/schemas/zet/distinct_trip.ex -rw-r--r-- 281 bytes
d1b5915fIvan Habunek Validate platform distance from route 5 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
defmodule Triglav.Schemas.Zet.DistinctTrip do
  use Ecto.Schema

  @primary_key false
  @schema_prefix :zet

  schema "v_distinct_trips" do
    field :route_id, :string
    field :direction_id, :integer
    field :stops, {:array, :string}
    field :trip_count, :integer
  end
end