Use new hanami db classes

This commit is contained in:
2024-08-05 18:44:20 +10:00
parent d7573d7038
commit 2ada50cbcd
52 changed files with 52 additions and 52 deletions

View File

@@ -1,6 +1,6 @@
module Main
module Repos
class TripRepo < Adamantium::Repo[:trips]
class TripRepo < Adamantium::DB::Repo[:trips]
def fetch!(id)
trips
.where(id: id)