Check for unapplied migrations on startup

Closes #1328
This commit is contained in:
rinpatch 2020-01-16 19:01:31 +03:00
commit dc0498ab2b
4 changed files with 80 additions and 0 deletions

View file

@ -33,6 +33,7 @@ defmodule Pleroma.Application do
def start(_type, _args) do
Pleroma.HTML.compile_scrubbers()
Pleroma.Config.DeprecationWarnings.warn()
Pleroma.Repo.check_migrations_applied!()
setup_instrumenters()
load_custom_modules()