projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4c61f1
)
Apply suggestion to lib/mix/tasks/pleroma/config.ex
author
lain
<lain@soykaf.club>
Sat, 20 Jun 2020 09:34:34 +0000
(09:34 +0000)
committer
lain
<lain@soykaf.club>
Sat, 20 Jun 2020 09:34:34 +0000
(09:34 +0000)
lib/mix/tasks/pleroma/config.ex
patch
|
blob
|
history
diff --git
a/lib/mix/tasks/pleroma/config.ex
b/lib/mix/tasks/pleroma/config.ex
index 65691f9c1df91c1d982a3494371d37e842a0a936..d5129d410b8c9cde9cc5b38208344b4e2a334c0a 100644
(file)
--- a/
lib/mix/tasks/pleroma/config.ex
+++ b/
lib/mix/tasks/pleroma/config.ex
@@
-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;")