Revert "Merge branch 'features/hashtag-column' into 'develop'"
[akkoma] / lib / pleroma / application.ex
index 22936bd7f245e7f7c128b1c7581c0f87bd4d4d82..bd568d8580c75539cc88354823cccbfcdc93b3b9 100644 (file)
@@ -131,7 +131,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