Bring app in line with Hanami 2.1.0 base
This commit is contained in:
11
app/relations/movies.rb
Normal file
11
app/relations/movies.rb
Normal file
@@ -0,0 +1,11 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module Adamantium
|
||||
module Relations
|
||||
class Movies < ROM::Relation[:sql]
|
||||
schema :movies, infer: true
|
||||
|
||||
auto_struct(true)
|
||||
end
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user