feat(elixir): complete storage location integration
This commit is contained in:
@@ -38,6 +38,7 @@ defmodule ComponentsElixir.Inventory.Component do
|
||||
|> validate_number(:count, greater_than_or_equal_to: 0)
|
||||
|> validate_url(:datasheet_url)
|
||||
|> foreign_key_constraint(:category_id)
|
||||
|> foreign_key_constraint(:storage_location_id)
|
||||
end
|
||||
|
||||
@doc """
|
||||
|
||||
Reference in New Issue
Block a user