From 59e780dbc0c47a2008355d09661beff14dfe4a13 Mon Sep 17 00:00:00 2001 From: Hakan Ensari Date: Sat, 2 May 2020 17:47:00 +0100 Subject: [PATCH] Fix error in ci? --- lib/day.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/day.rb b/lib/day.rb index aa8de00..ca28b6d 100644 --- a/lib/day.rb +++ b/lib/day.rb @@ -17,6 +17,7 @@ class Day < Sequel::Model Sequel.lit('rates.key').as(:iso_code), Sequel.lit('rates.value::text::float').as(:rate)) .join(Sequel.function(:jsonb_each, :rates).lateral.as(:rates), true) + .order(Sequel.asc(:date), Sequel.asc(:iso_code)) end end end