1 # Pleroma: A lightweight social networking server
2 # Copyright © 2017-2022 Pleroma Authors <https://pleroma.social/>
3 # SPDX-License-Identifier: AGPL-3.0-only
5 # Script for populating the database. You can run it as:
7 # mix run priv/repo/seeds.exs
9 # Inside the script, you can read and write to any of your
10 # repositories directly:
12 # Pleroma.Repo.insert!(%Pleroma.SomeSchema{})
14 # We recommend using the bang functions (`insert!`, `update!`
15 # and so on) as they will fail if something goes wrong.