This commit is contained in:
Mark Felder 2020-12-03 09:58:24 -06:00
parent 16bdc2bcd0
commit 95e908e4e2

View file

@ -379,7 +379,7 @@ defmodule Mix.Tasks.Pleroma.Config do
end)
end
defp truncatedb() do
defp truncatedb do
Ecto.Adapters.SQL.query!(Repo, "TRUNCATE config;")
Ecto.Adapters.SQL.query!(Repo, "ALTER SEQUENCE config_id_seq RESTART;")
end