Current section

Files

Jump to
ami lib ami community_toolkit.ex
Raw

lib/ami/community_toolkit.ex

defmodule Ami.CommunityToolkit do
use Ecto.Schema
alias Ami.{
Community,
Toolkit
}
schema "community_tool_kits" do
field(:position, :integer)
belongs_to(:community, Community)
belongs_to(:toolkit, Toolkit, foreign_key: :tool_kit_id)
end
end