~ihabunek/triglav

ref: 1a8ba58407fc58b933347c9bec5bcb4358191cbb triglav/lib/triglav/schemas/zet/distinct_trip.ex -rw-r--r-- 319 bytes
1a8ba584Ivan Habunek Use derived data for route detail view 4 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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 :stop_ids, {:array, :string}
    field :trip_count, :integer
    field :sample_trip_id, :binary
  end
end