mirror of
https://github.com/ash-project/ash_hq.git
synced 2024-09-20 13:23:38 +12:00
19 lines
556 B
Elixir
19 lines
556 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: ["master"]
|
|
})
|