fp/apps/bright/priv/repo/seeds.exs
CJ_Clippy aa75c224fc
Some checks failed
ci / build (push) Failing after 23m29s
ci / Tests & Checks (push) Failing after 3m32s
move services/bright to apps/bright
2025-02-10 08:16:50 -08:00

16 lines
508 B
Elixir

# Script for populating the database. You can run it as:
#
# mix run priv/repo/seeds.exs
#
# Inside the script, you can read and write to any of your
# repositories directly:
#
# Bright.Repo.insert!(%Bright.SomeSchema{})
#
# We recommend using the bang functions (`insert!`, `update!`
# and so on) as they will fail if something goes wrong.
# for title <- ["Home Improvement", "Power Tools", "Gardening", "Books", "Education"] do
# {:ok, _} = Bright.Catalog.create_category(%{title: title})
# end