Current section

Files

Jump to
ami lib ami related_link.ex
Raw

lib/ami/related_link.ex

defmodule Ami.RelatedLink do
use Ecto.Schema
# import Ecto.Query
alias Ami.{
Community
# Repo
}
schema "related_links" do
@timestamps_opts [type: :naive_datetime_usec]
field(:title, :string)
field(:url, :string)
field(:created_at, :utc_datetime_usec)
field(:updated_at, :utc_datetime_usec)
belongs_to(:community, Community)
end
end