This commit is contained in:
lain 2020-11-20 16:38:05 +01:00
parent 25a03a9b5b
commit e4289792d2

View File

@ -116,7 +116,7 @@ def start(_type, _args) do
result
end
defp set_postgres_server_version() do
defp set_postgres_server_version do
version =
with %{rows: [[version]]} <- Ecto.Adapters.SQL.query!(Pleroma.Repo, "show server_version"),
{num, _} <- Float.parse(version) do