Skip to content

Commit

Permalink
stores: add migration to performMigrations
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisSchinnerl committed Mar 6, 2024
1 parent 1c496f7 commit e4e5a8e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions stores/migrations.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,12 @@ func performMigrations(db *gorm.DB, logger *zap.SugaredLogger) error {
return performMigration(tx, dbIdentifier, "00004_prune_slabs_cascade", logger)
},
},
{
ID: "00005_zero_size_object_health",
Migrate: func(tx *gorm.DB) error {
return performMigration(tx, dbIdentifier, "00005_zero_size_object_health", logger)
},
},
}

// Create migrator.
Expand Down

0 comments on commit e4e5a8e

Please sign in to comment.