opentelemetry-erlang-contrib/instrumentation/opentelemetry_ecto/test/support/models/user.ex

11 lines
242 B
Elixir

defmodule OpentelemetryEcto.TestModels.User do
use Ecto.Schema
schema "users" do
field(:email, :string)
has_many(:posts, OpentelemetryEcto.TestModels.Post)
has_many(:comments, OpentelemetryEcto.TestModels.Comment)
end
end