Files
archived-teslamate/priv/repo/seeds.exs
Adrian Kumpf 3d95859dfe Initial commit
2019-03-31 14:00:40 +02:00

12 lines
355 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:
#
# TeslaMate.Repo.insert!(%TeslaMate.SomeSchema{})
#
# We recommend using the bang functions (`insert!`, `update!`
# and so on) as they will fail if something goes wrong.