Drop migration that finalizes migration to add PAT expiration
Compare changes
-
This MR drops the migration that finalizes a migration that added an expiration to all tokens that did not have one. Due to the impact on users, this drops the migration to avoid interruption to user workflows without them realizing it. Note this only will help customers that have not already upgraded to GitLab 16.0. This finalize step will already be run for instances that have already upgraded to GitLab 16.7. If the instance is in the middle of the background migration, this change will allow the migration to be finalized to ensure that future upgrades are not blocked by unfinished migrations. Note that the `CleanupPersonalAccessTokensWithNilExpiresAt` migration will be NOP'ed out to halt further data changes if the migration is in progress. Related to https://gitlab.com/gitlab-org/gitlab/-/issues/462157 Changelog: changed
+ 15
− 0
@@ -7,7 +7,22 @@ class FinalizeCleanupPersonalAccessTokensWithNilExpiresAt < Gitlab::Database::Mi