Cache top tracks
This commit is contained in:
13
lib/adamantium/persistence/relations/top_tracks.rb
Normal file
13
lib/adamantium/persistence/relations/top_tracks.rb
Normal file
@@ -0,0 +1,13 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Adamantium
|
||||
module Persistence
|
||||
module Relations
|
||||
class TopTracks < ROM::Relation[:sql]
|
||||
schema :top_tracks, infer: true
|
||||
|
||||
auto_struct(true)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user