 alias Concoctify.IngredientProducer
 alias Concoctify.HoneyVariety
 alias Concoctify.Honey
-alias Concoctify.IngredientVariety
 alias Concoctify.BaseCommodity
 alias Concoctify.CommodityVariety
 alias Concoctify.Commodity

  "Simply Balanced",
  "Unknown"
]

Enum.each ingredient_producer_names, fn(ingredient_producer_name) ->
  changeset = IngredientProducer.changeset(%IngredientProducer{}, %{name: ingredient_producer_name})

  Concoctify.Seeder.seed(changeset)
end

#------------------------------------------------------------------------------
# Make HoneyVarieties
#------------------------------------------------------------------------------
honey_variety_names = [
  "Cotton",
  "Orange Blossom",
  "Raspberry"
]

Enum.each honey_variety_names, fn(honey_variety_name) ->
  changeset = HoneyVariety.changeset(%HoneyVariety{}, %{name: honey_variety_name})
  Concoctify.Seeder.seed(changeset)
end

#------------------------------------------------------------------------------
# Make Honeies
#------------------------------------------------------------------------------
honies = [
  %{producer: "Unknown", variety: "Cotton"},
  %{producer: "Unknown", variety: "Orange Blossom"},
  %{producer: "Herritage Honey", variety: "Raspberry"}
]

Enum.each honies, fn(honey) ->
  changeset = Honey.changeset(%Honey{}, %{name: honey})
  Concoctify.Seeder.seed(changeset)
end

#------------------------------------------------------------------------------
# Make BaseCommodities and CommodityVarieties

distilled_types = ~w(Liqueur Spirit)
concoction_type_names = fermented_types ++ distilled_types

concoction_type_names
|> Enum.each(fn(concoction_type_name) ->
  changeset = ConcoctionType.changeset(%ConcoctionType{}, %{name: concoction_type_name})

  Concoctify.Seeder.seed(changeset)
end)

#------------------------------------------------------------------------------
# Make IngredientProducers
#------------------------------------------------------------------------------
[
  "Delitaliana Food Products",
  "Generic",
  "Herritage Honey", "Homegrown", "Homemade",
