Fix: Actually call the DedupOrgInLogin migration (#94520)

This commit is contained in:
Gabriel MABILLE
2024-10-10 10:53:31 +02:00
committed by GitHub
parent 419598c745
commit 6dbd324ef9
2 changed files with 3 additions and 3 deletions
@@ -16,9 +16,6 @@ const (
// to be able to create service accounts that are unique per org
func AddServiceAccountsAllowSameLoginCrossOrgs(mg *migrator.Migrator) {
mg.AddMigration(AllowSameLoginCrossOrgs, &ServiceAccountsSameLoginCrossOrgs{})
// Before it was fixed, the previous migration introduced the org_id again in logins that already had it.
// This migration removes the duplicate org_id from the login.
mg.AddMigration(DedupOrgInLogin, &ServiceAccountsDeduplicateOrgInLogin{})
}
var _ migrator.CodeMigration = new(ServiceAccountsSameLoginCrossOrgs)