~ihabunek/triglav

ref: f66c43139d76b7a26925de4e29498ff1473c0950 triglav/lib/triglav/schemas/zet/distinct_trip.ex -rw-r--r-- 316 bytes
f66c4313Ivan Habunek Store sample trip ID in derived data, simplify schemas 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 :stops, {:array, :string}
    field :trip_count, :integer
    field :sample_trip_id, :binary
  end
end