hmn/migration/migrations/migrations.go

10 lines
246 B
Go
Raw Normal View History

package migrations
import "git.handmade.network/hmn/hmn/migration/types"
var All map[types.MigrationVersion]types.Migration = make(map[types.MigrationVersion]types.Migration)
func registerMigration(m types.Migration) {
All[m.Version()] = m
}