prompt_connection = async () => {
  console.log("Enter database connection parameters");

  const answers = await inquirer.prompt([
    {
      type: "input",
      name: "host",
      message: "Database host",
      default: "localhost",
    },
    {
      type: "input",
      name: "port",
      message: "Database port",
      default: "5432",
    },
    {
      type: "input",
      name: "database",
      message: "Database name",
      default: "saltcorn",
    },
    {
      type: "input",
      name: "user",
      message: "Database user",
      default: "saltcorn",
    },
    {
      type: "password",
      name: "password",
      message: "Database password",
      mask: "*",
      validate: (input) => (input ? true : "Password is required"),
    },
  ]);

  const session_secret = await get_password("session secret");
  const jwt_secret = genJwtSecret();
  return {
    host: answers.host || "localhost",
    port: answers.port || 5432,
    database: answers.database || "saltcorn",
    user: answers.user || "saltcorn",
    password: answers.password,
    session_secret,
    jwt_secret,
    multi_tenant: false,
  };
}
Ask for Database parameters
@returns {Promise<object>}