public function getRevereMigratedUntil($untilMigration) {
		$list = [];
		if(!in_array($untilMigration, array_keys($this->getList())))
			throw new \Exception($untilMigration.' is not in the list.');
		foreach(array_reverse($this->getList()) as $migration=>$params) {
			if(isset($params['migrated']))
				$list[] = $migration;
			if($migration == $untilMigration)
				break;
		}
		return $list;
	}
public function getRevereMigratedUntil($untilMigration) {
		$list = [];
		if(!in_array($untilMigration, array_keys($this->getList())))
			throw new \Exception($untilMigration.' is not in the list.');
		foreach(array_reverse($this->getList()) as $migration=>$params) {
			if(isset($params['migrated']))
				$list[] = $migration;
			if($migration == $untilMigration)
				break;
		}
		return $list;
	}
public function getRevereMigratedUntil ( $ untilMigration ) { $ list = [ ] ; if ( ! in_array ( $ untilMigration , array_keys ( $ this -> getList ( ) ) ) ) throw new \ Exception ( $ untilMigration . ' is not in the list.' ) ; foreach ( array_reverse ( $ this -> getList ( ) ) as $ migration => $ params ) { if ( isset ( $ params [ 'migrated' ] ) ) $ list [ ] = $ migration ; if ( $ migration == $ untilMigration ) break ; } return $ list ; }
Get all migrations until a given migration name
@param  string $untilMigration
@return arra
Get all migrations until a given migration name