Apply suggestion to lib/mix/tasks/pleroma/config.ex

This commit is contained in:
lain 2020-06-20 09:34:34 +00:00
parent e4c61f1741
commit 4cb7b1ebc6

View File

@ -52,7 +52,7 @@ defmodule Mix.Tasks.Pleroma.Config do
defp do_migrate_to_db(config_file) do
if File.exists?(config_file) do
shell_info("Running migrate settings from file: #{Path.expand(config_file)}")
shell_info("Migrating settings from file: #{Path.expand(config_file)}")
Ecto.Adapters.SQL.query!(Repo, "TRUNCATE config;")
Ecto.Adapters.SQL.query!(Repo, "ALTER SEQUENCE config_id_seq RESTART;")