chore: small formatting for task output fix

This commit is contained in:
Zach Daniel 2024-04-09 20:51:24 -04:00
parent 6d4c642522
commit 14edb8ec36

View file

@ -462,17 +462,20 @@ defmodule AshPostgres.DataLayer do
if !Enum.empty?(tenant_files) do
n =
Mix.shell().prompt("""
Mix.shell().prompt(
"""
How many _tenant_ migrations should be rolled back#{for_repo}? (default: 0)
How many _tenant_ migrations should be rolled back#{for_repo}? (default: 0)
Last 20 migration names, with the input you must provide to
rollback up to *and including* that migration:
Last 20 migration names, with the input you must provide to
rollback up to *and including* that migration:
#{Enum.join(tenant_files, "\n")}
#{Enum.join(tenant_files, "\n")}
Rollback to:
""")
Rollback to:
"""
|> String.trim_trailing()
)
|> String.trim()
|> case do
"" ->