Skip to content

Commit

Permalink
Update doc and remove incorrect flag in ecto.rollback (#186)
Browse files Browse the repository at this point in the history
  • Loading branch information
fertapric committed Feb 9, 2020
1 parent c01ca0f commit 48dbae5
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions lib/mix/tasks/ecto.rollback.ex
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ defmodule Mix.Tasks.Ecto.Rollback do
all: :boolean,
step: :integer,
to: :integer,
start: :boolean,
quiet: :boolean,
prefix: :string,
pool_size: :integer,
Expand All @@ -41,11 +40,10 @@ defmodule Mix.Tasks.Ecto.Rollback do
config :my_app, MyApp.Repo, priv: "priv/custom_repo"
This task runs all pending migrations by default. Runs the last
applied migration by default. To roll back to a version number,
supply `--to version_number`. To roll back a specific number of
times, use `--step n`. To undo all applied migrations, provide
`--all`.
This task rolls back the last applied migration by default. To roll
back to a version number, supply `--to version_number`. To roll
back a specific number of times, use `--step n`. To undo all applied
migrations, provide `--all`.
The repositories to rollback are the ones specified under the
`:ecto_repos` option in the current app configuration. However,
Expand Down

0 comments on commit 48dbae5

Please sign in to comment.