diff options
author | Roger Braun <roger@rogerbraun.net> | 2017-03-17 17:09:58 +0100 |
---|---|---|
committer | Roger Braun <roger@rogerbraun.net> | 2017-03-17 17:09:58 +0100 |
commit | a93f3421a704d6728a856d5d82cdbf9c43f3f897 (patch) | |
tree | 50cab3fed20aeea7722567180b44bda23a21900f /priv/repo/seeds.exs | |
download | pleroma-a93f3421a704d6728a856d5d82cdbf9c43f3f897.tar.gz pleroma-a93f3421a704d6728a856d5d82cdbf9c43f3f897.zip |
Phoenix skeleton
Diffstat (limited to 'priv/repo/seeds.exs')
-rw-r--r-- | priv/repo/seeds.exs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/priv/repo/seeds.exs b/priv/repo/seeds.exs new file mode 100644 index 000000000..1ab36cedc --- /dev/null +++ b/priv/repo/seeds.exs @@ -0,0 +1,11 @@ +# 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: +# +# Pleroma.Repo.insert!(%Pleroma.SomeSchema{}) +# +# We recommend using the bang functions (`insert!`, `update!` +# and so on) as they will fail if something goes wrong. |