mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-12-23 00:26:30 +00:00
Apply suggestion to lib/mix/tasks/pleroma/config.ex
This commit is contained in:
parent
e4c61f1741
commit
4cb7b1ebc6
1 changed files with 1 additions and 1 deletions
|
@ -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;")
|
||||
|
||||
|
|
Loading…
Reference in a new issue