Skip to content

Commit

Permalink
fix: fix default preload order to be by direction_id
Browse files Browse the repository at this point in the history
  • Loading branch information
meagharty committed Oct 24, 2024
1 parent eaf4cc6 commit e6d5d5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/arrow/shuttles/shuttle.ex
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ defmodule Arrow.Shuttles.Shuttle do
field :status, Ecto.Enum, values: [:draft, :active, :inactive]
field :shuttle_name, :string
field :disrupted_route_id, :string
has_many :routes, Arrow.Shuttles.Route
has_many :routes, Arrow.Shuttles.Route, preload_order: [asc: :direction_id]

timestamps(type: :utc_datetime)
end
Expand Down

0 comments on commit e6d5d5e

Please sign in to comment.