mirror of
https://github.com/hakanensari/frankfurter.git
synced 2024-10-29 23:32:35 +01:00
Fix error in ci?
This commit is contained in:
parent
267b142cd8
commit
59e780dbc0
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user