Fresh repository history for elektrine/tarakan hosted at https://git.elektrine.com/elektrine/tarakan.
14 lines
490 B
Elixir
14 lines
490 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:
|
|
#
|
|
# Tarakan.Repo.insert!(%Tarakan.SomeSchema{})
|
|
#
|
|
# We recommend using the bang functions (`insert!`, `update!`
|
|
# and so on) as they will fail if something goes wrong.
|
|
|
|
# Infestation demo patterns (needs listed repos + an active account already present).
|
|
Code.require_file("seed_infestations.exs", __DIR__)
|