ash_hq/priv/repo/seeds.exs

15 lines
499 B
Elixir
Raw Normal View History

2022-03-21 17:43:24 +13:00
# 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.
2022-03-26 10:17:01 +13:00
AshHq.Docs.Library.create!(%{name: "ash", track_branches: ["main"]})
# AshHq.Docs.Library.create!(%{name: "ash_postgres", track_branches: ["master"]})