diff options
author | rinpatch <rinpatch@sdf.org> | 2020-02-25 22:13:08 +0300 |
---|---|---|
committer | rinpatch <rinpatch@sdf.org> | 2020-02-25 22:13:08 +0300 |
commit | 359faa8645b48c05e5b477e43d144ed4ac92b249 (patch) | |
tree | 12557b89c280297e9a88dd873947c8294c7f0484 | |
parent | cfa28dee32d3608cab2e2fb42a59c50f3cc0c083 (diff) | |
download | pleroma-359faa8645b48c05e5b477e43d144ed4ac92b249.tar.gz |
instance.gen task: remind to transfer the config to the database after
migrations
-rw-r--r-- | lib/mix/tasks/pleroma/instance.ex | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/mix/tasks/pleroma/instance.ex b/lib/mix/tasks/pleroma/instance.ex index fee2ab9d9..216dec296 100644 --- a/lib/mix/tasks/pleroma/instance.ex +++ b/lib/mix/tasks/pleroma/instance.ex @@ -207,8 +207,14 @@ defmodule Mix.Tasks.Pleroma.Instance do write_robots_txt(indexable, template_dir) shell_info( - "\n All files successfully written! Refer to the installation instructions for your platform for next steps" + "\n All files successfully written! Refer to the installation instructions for your platform for next steps." ) + + if db_configurable? do + shell_info( + " Please transfer your config to the database after running database migrations. Refer to \"Transfering the config to/from the database\" section of the docs for more information." + ) + end else shell_error( "The task would have overwritten the following files:\n" <> |