Initial commit: there's still tons of base Phoenix boilerplate to remove, but the...
[tech-radar-editor.git] / priv / repo / seeds.exs
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 # TechRadarEditor.Repo.insert!(%TechRadarEditor.SomeModel{})
9 #
10 # We recommend using the bang functions (`insert!`, `update!`
11 # and so on) as they will fail if something goes wrong.