// RollbackLast undo the last migration
RollbackLast undo the last migration
// RollbackLast undo the last migration
func (m *Migrator) RollbackLast() error {
	gm := gormigrate.New(m.api.PostgreDatabase, gormigrate.DefaultOptions, migrations)
	if err := gm.RollbackLast(); err != nil {
		return err
	}
	return nil
}
func ( m * Migrator ) RollbackLast ( ) error { gm := gormigrate . New ( m . api . PostgreDatabase , gormigrate . DefaultOptions , migrations ) if err := gm . RollbackLast ( ) ; err != nil { return err } return nil }
RollbackLast undo the last migration
RollbackLast undo the last migration