ash_admin/test/support/resources/post.ex
2024-03-29 09:48:44 -04:00

15 lines
275 B
Elixir

defmodule AshAdmin.Test.Post do
@moduledoc false
use Ash.Resource,
domain: Demo.Tickets.Domain,
data_layer: Ash.DataLayer.Ets
attributes do
uuid_primary_key(:id)
attribute :body, :string do
allow_nil?(false)
public? true
end
end
end