defmodule ShootingEventPhx.Domain.Player do use Ecto.Schema @primary_key {:id, :id, autogenerate: true} @timestamps_opts [inserted_at: :created_at, updated_at: :updated_at, type: :utc_datetime] schema "players" do field :name_ar, :string field :name_en, :string field :group_code, :string, default: "" field :image_data, :string, default: "" timestamps() end end