Skip to content

docs: document -r flag in tasks docs #522

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 29, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions lib/mix/tasks/ash_postgres.create.ex
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ defmodule Mix.Tasks.AshPostgres.Create do
## Command line options

* `--domains` - the domains who's repos you want to migrate.
* `-r, --repo` - the repo to create
* `--quiet` - do not log output
* `--no-compile` - do not compile before creating
* `--no-deps-check` - do not compile before creating
Expand Down
1 change: 1 addition & 0 deletions lib/mix/tasks/ash_postgres.drop.ex
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ defmodule Mix.Tasks.AshPostgres.Drop do
## Command line options

* `--domains` - the domains who's repos should be dropped
* `-r, --repo` - the repo to drop
* `-q`, `--quiet` - run the command quietly
* `-f`, `--force` - do not ask for confirmation when dropping the database.
Configuration is asked only when `:start_permanent` is set to true
Expand Down
2 changes: 2 additions & 0 deletions lib/mix/tasks/ash_postgres.migrate.ex
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ defmodule Mix.Tasks.AshPostgres.Migrate do

* `--all` - run all pending migrations

* `--repo`, `-r` - the repo to migrate

* `--step`, `-n` - run n number of pending migrations

* `--to` - run all migrations up to and including version
Expand Down
1 change: 1 addition & 0 deletions lib/mix/tasks/ash_postgres.rollback.ex
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ defmodule Mix.Tasks.AshPostgres.Rollback do
## Command line options
* `--domains` - the domains who's repos should be rolledback
* `--all` - revert all applied migrations
* `--repo`, `-r` - the repo to rollback
* `--step` / `-n` - revert n number of applied migrations
* `--to` / `-v` - revert all migrations down to and including version
* `--quiet` - do not log migration commands
Expand Down
Loading