X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=lib%2Fpleroma%2Fapplication.ex;h=a9a8fb9c21c331cc28406b1357985b903bfb2f74;hb=b830605577f369d6b1a8730a5b3476ceea4fef5a;hp=22936bd7f245e7f7c128b1c7581c0f87bd4d4d82;hpb=f9a4cf2097c0ccc3987517b581aebc1197b2a4a3;p=akkoma
diff --git a/lib/pleroma/application.ex b/lib/pleroma/application.ex
index 22936bd7f..a9a8fb9c2 100644
--- a/lib/pleroma/application.ex
+++ b/lib/pleroma/application.ex
@@ -1,5 +1,5 @@
# Pleroma: A lightweight social networking server
-# Copyright © 2017-2020 Pleroma Authors
+# Copyright © 2017-2021 Pleroma Authors
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Application do
@@ -104,7 +104,8 @@ defmodule Pleroma.Application do
chat_child(chat_enabled?()) ++
[
Pleroma.Web.Endpoint,
- Pleroma.Gopher.Server
+ Pleroma.Gopher.Server,
+ Pleroma.Migrators.HashtagsTableMigrator
]
# See http://elixir-lang.org/docs/stable/elixir/Supervisor.html
@@ -131,7 +132,7 @@ defmodule Pleroma.Application do
9.6
end
- Application.put_env(:postgres, :version, version)
+ :persistent_term.put({Pleroma.Repo, :postgres_version}, version)
end
def load_custom_modules do