Add Hanami DB classes
This commit is contained in:
10
app/db/relation.rb
Normal file
10
app/db/relation.rb
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
|
require "hanami/db/relation"
|
||||||
|
|
||||||
|
module Adamantium
|
||||||
|
module DB
|
||||||
|
class Relation < Hanami::DB::Relation
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
10
app/db/repo.rb
Normal file
10
app/db/repo.rb
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
|
require "hanami/db/repo"
|
||||||
|
|
||||||
|
module Adamantium
|
||||||
|
module DB
|
||||||
|
class Repo < Hanami::DB::Repo
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
Reference in New Issue
Block a user