revert(server): drop the licence grandfather migration

Instances stay read-only until a licence is set. No licence is generated by
the control plane, which keeps the signing key out of it entirely.
This commit is contained in:
2026-07-24 15:49:46 +01:00
parent eb8b85ccfe
commit 8e5f35f40c
2 changed files with 0 additions and 109 deletions
-7
View File
@@ -59,13 +59,6 @@ func main() {
log.Fatalf("scoped collection check failed: %v", assertErr)
}
gfCtx, gfCancel := context.WithTimeout(context.Background(), 2*time.Minute)
gfErr := services.MigrateGrandfatherLicences(gfCtx, db.Database)
gfCancel()
if gfErr != nil {
log.Fatalf("licence grandfather migration failed: %v", gfErr)
}
if err := services.EnsureAuthIndexes(); err != nil {
log.Fatalf("failed to ensure auth indexes: %v", err)
}