// MigrateTo executes all migrations that did not run yet up to
// the migration that matches `migrationID`.
MigrateTo executes all migrations that did not run yet up to
the migration that matches `migrationID`.
// MigrateTo executes all migrations that did not run yet up to // the migration that matches ` migrationID ` .
func (m *Migrator) MigrateTo(migrationID string) error {
	gm := gormigrate.New(m.api.PostgreDatabase, gormigrate.DefaultOptions, migrations)
	if err := gm.MigrateTo(migrationID); err != nil {
		return err
	}
	return nil
}
func ( m * Migrator ) MigrateTo ( migrationID string ) error { gm := gormigrate . New ( m . api . PostgreDatabase , gormigrate . DefaultOptions , migrations ) if err := gm . MigrateTo ( migrationID ) ; err != nil { return err } return nil }
MigrateTo executes all migrations that did not run yet up to
the migration that matches `migrationID`.
MigrateTo executes all migrations that did not run yet up to the migration that matches ` migrationID ` .