Commit d3bece3a authored by Achilleas Pipinellis's avatar Achilleas Pipinellis

Merge branch 'docs-remove-erroneous-pending-migrations-cmd' into 'master'

Fix erroneous pending migrations command

See merge request gitlab-org/gitlab!78242
parents 5fd091af ab774d13
...@@ -98,7 +98,7 @@ that can process jobs in the `background_migration` queue. ...@@ -98,7 +98,7 @@ that can process jobs in the `background_migration` queue.
```shell ```shell
sudo gitlab-rails runner -e production 'puts Gitlab::BackgroundMigration.remaining' sudo gitlab-rails runner -e production 'puts Gitlab::BackgroundMigration.remaining'
sudo gitlab-rails runner -e production 'puts Gitlab::BackgroundMigration.pending' sudo gitlab-rails runner -e production 'puts Gitlab::Database::BackgroundMigrationJob.pending'
``` ```
**For installations from source:** **For installations from source:**
...@@ -106,7 +106,7 @@ sudo gitlab-rails runner -e production 'puts Gitlab::BackgroundMigration.pending ...@@ -106,7 +106,7 @@ sudo gitlab-rails runner -e production 'puts Gitlab::BackgroundMigration.pending
```shell ```shell
cd /home/git/gitlab cd /home/git/gitlab
sudo -u git -H bundle exec rails runner -e production 'puts Gitlab::BackgroundMigration.remaining' sudo -u git -H bundle exec rails runner -e production 'puts Gitlab::BackgroundMigration.remaining'
sudo -u git -H bundle exec rails runner -e production 'puts Gitlab::BackgroundMigration.pending' sudo -u git -H bundle exec rails runner -e production 'puts Gitlab::Database::BackgroundMigrationJob.pending'
``` ```
### Batched background migrations ### Batched background migrations
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment