// New returns a new Migrator.
New returns a new Migrator.
// New returns a new Migrator .
func New(ds datastore.TxnDatastore, migrations map[int]Migration) *Migrator {
	m := &Migrator{
		ds:         ds,
		migrations: migrations,
	}
	return m
}
func New ( ds datastore . TxnDatastore , migrations map [ int ] Migration ) * Migrator { m := & Migrator { ds : ds , migrations : migrations , } return m }
New returns a new Migrator.
New returns a new Migrator .