medicode / priv /repo /seeds.exs
timgremore's picture
Initial import
d77a9fd
raw
history blame
377 Bytes
# 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:
#
# MedicalTranscription.Repo.insert!(%MedicalTranscription.SomeSchema{})
#
# We recommend using the bang functions (`insert!`, `update!`
# and so on) as they will fail if something goes wrong.