From ad3f48ccc95f53453773ab681e34600099f880a6 Mon Sep 17 00:00:00 2001 From: shibao Date: Sat, 5 Feb 2022 00:28:45 -0500 Subject: [PATCH] remove non-mandatory ammo group fields --- lib/cannery/ammo/ammo_group.ex | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/cannery/ammo/ammo_group.ex b/lib/cannery/ammo/ammo_group.ex index 463b70c..6432069 100644 --- a/lib/cannery/ammo/ammo_group.ex +++ b/lib/cannery/ammo/ammo_group.ex @@ -53,9 +53,6 @@ defmodule Cannery.Ammo.AmmoGroup do |> cast(attrs, [:count, :price_paid, :notes, :tag_id, :ammo_type_id, :container_id, :user_id]) |> validate_required([ :count, - :price_paid, - :notes, - :tag_id, :ammo_type_id, :container_id, :user_id