This repository has been archived on 2024-06-24. You can view files and clone it, but cannot push or open issues or pull requests.
graphql-lightning-talk/priv/repo/seeds.exs
2018-04-08 10:06:11 +12:00

17 lines
466 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:
#
# Faces.Repo.insert!(%Faces.SomeSchema{})
#
# We recommend using the bang functions (`insert!`, `update!`
# and so on) as they will fail if something goes wrong.
alias Faces.Gallery
Gallery.import_user("jamesotron")
Gallery.import_user("terrcin")
Gallery.import_user("edgurgel")