blob: 859bdb8c3e4a0588a7e1ab21eafd9675af26561c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# frozen_string_literal: true
class QueueCleanupPersonalAccessTokensWithNilExpiresAt < Gitlab::Database::Migration[2.1]
# per: https://docs.gitlab.com/ee/development/database/batched_background_migrations.html#requeuing-batched-background-migrations
# > When you requeue the batched background migration, turn the original queuing
# > into a no-op by clearing up the #up and #down methods of the migration
# > performing the requeuing. Otherwise, the batched background migration is
# > queued multiple times on systems that are upgrading multiple patch releases
# > at once.
#
# being re-run via https://gitlab.com/gitlab-org/gitlab/-/merge_requests/123002
def up; end
def down; end
end
|