~ihabunek/triglav

ref: 1a8ba58407fc58b933347c9bec5bcb4358191cbb triglav/lib/triglav/schemas/error_history.ex -rw-r--r-- 466 bytes
1a8ba584Ivan Habunek Use derived data for route detail view 7 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
defmodule Triglav.Schemas.ErrorHistory do
  use Ecto.Schema

  @type t :: %__MODULE__{}

  schema "error_history" do
    field :count, :integer, null: false
    field :previous_count, :integer, null: false
    field :created_count, :integer, null: false
    field :resolved_count, :integer, null: false
    field :zet_feed_version, :string, null: false
    field :osm_sequence_number, :integer, null: false
    field :timestamp, :utc_datetime, null: false
  end
end