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