Browse Source

Credo

issue/2315-poll-notify
Mark Felder 3 years ago
parent
commit
95e908e4e2
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lib/mix/tasks/pleroma/config.ex

+ 1
- 1
lib/mix/tasks/pleroma/config.ex 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


Loading…
Cancel
Save