aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrinpatch <rinpatch@sdf.org>2019-06-21 06:42:04 +0300
committerrinpatch <rinpatch@sdf.org>2019-06-21 06:42:04 +0300
commit89fead9250a5bd9b6712a285e8a827f1aec69615 (patch)
tree67c139098d4ba6d68fd68c3d60eb81a5708708bc
parentd55358f3705c34510f5ec1d9cef7ab3b0f11ed2f (diff)
downloadpleroma-89fead9250a5bd9b6712a285e8a827f1aec69615.tar.gz
Default DB configuration to false and set the default database name to
`pleroma` instead of `pleroma_dev`
-rw-r--r--lib/mix/tasks/pleroma/instance.ex4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/mix/tasks/pleroma/instance.ex b/lib/mix/tasks/pleroma/instance.ex
index 2c4e414cf..9e26c066b 100644
--- a/lib/mix/tasks/pleroma/instance.ex
+++ b/lib/mix/tasks/pleroma/instance.ex
@@ -112,12 +112,12 @@ defmodule Mix.Tasks.Pleroma.Instance do
options,
:db_configurable,
"Do you want to store the configuration in the database (allows controlling it from admin-fe)? (y/n)",
- "y"
+ "n"
) === "y"
dbhost = get_option(options, :dbhost, "What is the hostname of your database?", "localhost")
- dbname = get_option(options, :dbname, "What is the name of your database?", "pleroma_dev")
+ dbname = get_option(options, :dbname, "What is the name of your database?", "pleroma")
dbuser =
get_option(