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

9 lines
185 B
Elixir
Raw Permalink Normal View History

defmodule OpentelemetryEcto.TestModels.Comment do
use Ecto.Schema
schema "comments" do
field(:body, :string)
belongs_to(:user, OpentelemetryEcto.TestModels.User)
end
end