Update authentication method

This commit is contained in:
2023-11-18 18:20:29 +11:00
parent 9d9ffc9122
commit 3b3ad66ba3
24 changed files with 273 additions and 25 deletions

View File

@@ -0,0 +1,11 @@
# frozen_string_literal: true
module Adamantium
module Relations
class LoginTokens < ROM::Relation[:sql]
schema :login_tokens, infer: true
auto_struct(true)
end
end
end

11
app/relations/users.rb Normal file
View File

@@ -0,0 +1,11 @@
# frozen_string_literal: true
module Adamantium
module Relations
class Users < ROM::Relation[:sql]
schema :users, infer: true
auto_struct(true)
end
end
end