mirror of
https://github.com/team-alembic/ash_authentication.git
synced 2024-09-21 13:53:25 +12:00
12 lines
244 B
Elixir
12 lines
244 B
Elixir
defmodule Example.Token do
|
|
@moduledoc false
|
|
use Ash.Resource,
|
|
data_layer: AshPostgres.DataLayer,
|
|
extensions: [AshAuthentication.TokenResource],
|
|
domain: Example
|
|
|
|
postgres do
|
|
table("tokens")
|
|
repo(Example.Repo)
|
|
end
|
|
end
|