841c93cd65
* feat: store migration setup * comment * changelog
14 lines
244 B
Go
14 lines
244 B
Go
package keeper
|
|
|
|
// Migrator is a struct for handling in-place store migrations.
|
|
type Migrator struct {
|
|
keeper Keeper
|
|
}
|
|
|
|
// NewMigrator returns a new Migrator.
|
|
func NewMigrator(keeper Keeper) Migrator {
|
|
return Migrator{
|
|
keeper: keeper,
|
|
}
|
|
}
|