// Status returns slice of logs of migrations
Status returns slice of logs of migrations
// Status returns slice of logs of migrations
func (m *DBMigrator) Status() ([]migration.Log, error) {
	list, err := m.domain.Migration.Service.List(m.ctx)
	err = api.AppErrorConv(err)
	if err != nil && errors.Is(err, api.ErrNotFound) {
		err = nil
	}
	return list, err
}
func ( m * DBMigrator ) Status ( ) ( [ ] migration . Log , error ) { list , err := m . domain . Migration . Service . List ( m . ctx ) err = api . AppErrorConv ( err ) if err != nil && errors . Is ( err , api . ErrNotFound ) { err = nil } return list , err }
Status returns slice of logs of migrations
Status returns slice of logs of migrations