Fix error in ci?

This commit is contained in:
Hakan Ensari 2020-05-02 17:47:00 +01:00
parent 267b142cd8
commit 59e780dbc0

View File

@ -17,6 +17,7 @@ class Day < Sequel::Model
Sequel.lit('rates.key').as(:iso_code), Sequel.lit('rates.key').as(:iso_code),
Sequel.lit('rates.value::text::float').as(:rate)) Sequel.lit('rates.value::text::float').as(:rate))
.join(Sequel.function(:jsonb_each, :rates).lateral.as(:rates), true) .join(Sequel.function(:jsonb_each, :rates).lateral.as(:rates), true)
.order(Sequel.asc(:date), Sequel.asc(:iso_code))
end end
end end
end end