mirror of
https://github.com/ash-project/ash_postgres.git
synced 2024-09-19 21:13:19 +12:00
chore: small formatting for task output fix
This commit is contained in:
parent
6d4c642522
commit
14edb8ec36
1 changed files with 10 additions and 7 deletions
|
@ -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
|
||||
"" ->
|
||||
|
|
Loading…
Reference in a new issue