diff --git a/doc/development/batched_background_migrations.md b/doc/development/batched_background_migrations.md index e7703b5dd2b1ef9d22eaa53a07339e54ae938965..a63786b01b4e9118cc2ccef2d94fd297192d2bb8 100644 --- a/doc/development/batched_background_migrations.md +++ b/doc/development/batched_background_migrations.md @@ -203,7 +203,7 @@ do this work in a regular migration. def up queue_batched_background_migration( MIGRATION, - :migrations, + :integrations, :id, job_interval: DELAY_INTERVAL ) @@ -211,7 +211,7 @@ do this work in a regular migration. def down Gitlab::Database::BackgroundMigration::BatchedMigration - .for_configuration(MIGRATION, :migrations, :id, []).delete_all + .for_configuration(MIGRATION, :integrations, :id, []).delete_all end end ```