seeds.exs 351 B

1234567891011
  1. # Script for populating the database. You can run it as:
  2. #
  3. # mix run priv/repo/seeds.exs
  4. #
  5. # Inside the script, you can read and write to any of your
  6. # repositories directly:
  7. #
  8. # Openpod.Repo.insert!(%Openpod.SomeSchema{})
  9. #
  10. # We recommend using the bang functions (`insert!`, `update!`
  11. # and so on) as they will fail if something goes wrong.