defmodule CartosnapApp.Photos.PhotoTrip do
@moduledoc "Files a photo under a trip. A photo may be in several trips, once each."
use Ecto.Schema
@primary_key {:id, :binary_id, autogenerate: true}
@foreign_key_type :binary_id
schema "photo_photo_trips" do
field :photo, :binary_id
field :trip, :binary_id
timestamps()
end
end
neiam
/cartosnap_ex
public · Issues · Pulls · Labels · Forks · Compare · Actions running · Badges · Packages
⭐
Log in to mark this repository.
351 B · text
History
e569b6d