ash_hq/priv/repo/seeds.exs
Zach Daniel 6085b1bbca WIP
2022-06-04 16:58:50 -04:00

19 lines
554 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:
#
# AshHq.Repo.insert!(%AshHq.SomeSchema{})
#
# We recommend using the bang functions (`insert!`, `update!`
# and so on) as they will fail if something goes wrong.
AshHq.Docs.Library.create!(%{name: "ash", display_name: "Ash", track_branches: ["main"]})
AshHq.Docs.Library.create!(%{
name: "ash_postgres",
display_name: "AshPostgres",
track_branches: ["main"]
})