@@ -68,35 +68,35 @@ defmodule Mix.Tasks.Ecto.Migrate do
6868
6969 ## Command line options
7070
71- * `-r`, `--repo` - the repo to migrate
72-
7371 * `--all` - run all pending migrations
7472
75- * `--step`, `-n ` - run n number of pending migrations
73+ * `--log-sql ` - log the underlying sql statements for migrations
7674
77- * `--to` - run all migrations up to and including version
75+ * `--migrations-path` - the path to load the migrations from, defaults to
76+ `"priv/repo/migrations"`. This option may be given multiple times in which
77+ case the migrations are loaded from all the given directories and sorted
78+ as if they were in the same one
7879
79- * `--quiet ` - do not log migration commands
80+ * `--no-compile ` - does not compile applications before migrating
8081
81- * `--prefix ` - the prefix to run migrations on
82+ * `--no-deps-check ` - does not check dependencies before migrating
8283
83- * `--pool-size` - the pool size if the repository is started only for the task (defaults to 2)
84+ * `--pool-size` - the pool size if the repository is started
85+ only for the task (defaults to 2)
8486
85- * `--log-sql ` - log the raw sql migrations are running
87+ * `--prefix ` - the prefix to run migrations on
8688
87- * `--strict-version-order ` - abort when applying a migration with old timestamp
89+ * `--quiet ` - do not log migration commands
8890
89- * `--no-compile ` - does not compile applications before migrating
91+ * `-r`, `--repo ` - the repo to migrate
9092
91- * `--no-deps-check ` - does not check dependencies before migrating
93+ * `--step`, `-n ` - run n number of pending migrations
9294
93- * `--migrations-path` - the path to load the migrations from, defaults to
94- `"priv/repo/migrations"`. This option may be given multiple times in which case the migrations
95- are loaded from all the given directories and sorted as if they were in the same one.
95+ * `--strict-version-order` - abort when applying a migration with old
96+ timestamp (otherwise it emits a warning)
97+
98+ * `--to` - run all migrations up to and including version
9699
97- Note, if you have migrations paths e.g. `a/` and `b/`, and run
98- `mix ecto.migrate --migrations-path a/`, the latest migrations from `a/` will be run (even
99- if `b/` contains the overall latest migrations.)
100100 """
101101
102102 @ impl true
0 commit comments