From: Mark Felder Date: Thu, 3 Dec 2020 15:58:24 +0000 (-0600) Subject: Credo X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=95e908e4e2273a4b07218e45b46ecbeaa0f08e1c;p=akkoma Credo --- diff --git a/lib/mix/tasks/pleroma/config.ex b/lib/mix/tasks/pleroma/config.ex index ebaf2c623..a6173e0e2 100644 --- a/lib/mix/tasks/pleroma/config.ex +++ b/lib/mix/tasks/pleroma/config.ex @@ -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