From 9b3d2dc4ae15fab9d400465db21388c663ac448f Mon Sep 17 00:00:00 2001 From: Daniel Nitsikopoulos Date: Mon, 5 Aug 2024 18:41:17 +1000 Subject: [PATCH] Add Hanami DB classes --- app/db/relation.rb | 10 ++++++++++ app/db/repo.rb | 10 ++++++++++ 2 files changed, 20 insertions(+) create mode 100644 app/db/relation.rb create mode 100644 app/db/repo.rb diff --git a/app/db/relation.rb b/app/db/relation.rb new file mode 100644 index 0000000..0362e54 --- /dev/null +++ b/app/db/relation.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +require "hanami/db/relation" + +module Adamantium + module DB + class Relation < Hanami::DB::Relation + end + end +end diff --git a/app/db/repo.rb b/app/db/repo.rb new file mode 100644 index 0000000..a874b12 --- /dev/null +++ b/app/db/repo.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +require "hanami/db/repo" + +module Adamantium + module DB + class Repo < Hanami::DB::Repo + end + end +end