remove non-mandatory ammo group fields
This commit is contained in:
parent
8479e420fe
commit
ad3f48ccc9
@ -53,9 +53,6 @@ defmodule Cannery.Ammo.AmmoGroup do
|
|||||||
|> cast(attrs, [:count, :price_paid, :notes, :tag_id, :ammo_type_id, :container_id, :user_id])
|
|> cast(attrs, [:count, :price_paid, :notes, :tag_id, :ammo_type_id, :container_id, :user_id])
|
||||||
|> validate_required([
|
|> validate_required([
|
||||||
:count,
|
:count,
|
||||||
:price_paid,
|
|
||||||
:notes,
|
|
||||||
:tag_id,
|
|
||||||
:ammo_type_id,
|
:ammo_type_id,
|
||||||
:container_id,
|
:container_id,
|
||||||
:user_id
|
:user_id
|
||||||
|
Loading…
Reference in New Issue
Block a user