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

9 lines
179 B
Elixir
Raw Normal View History

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