public function getAppliedMigrations( )
    {
        $query = "SELECT * FROM $this->migrationTable";
        
        $applied = $this->db->query( $query );
        
        $list = array();
        
        foreach( $applied as $mig )
        {
            $list[] = $mig[ 'migration_name' ];
        }
        
        $list = array_reverse( $list );
        
        return $this->filter( self::ON_GET_APPLIED_MIGRATIONS_FILTER, $list );
    }
public function getAppliedMigrations( )
    {
        $query = "SELECT * FROM $this->migrationTable";
        
        $applied = $this->db->query( $query );
        
        $list = array();
        
        foreach( $applied as $mig )
        {
            $list[] = $mig[ 'migration_name' ];
        }
        
        $list = array_reverse( $list );
        
        return $this->filter( self::ON_GET_APPLIED_MIGRATIONS_FILTER, $list );
    }
public function getAppliedMigrations ( ) { $ query = "SELECT * FROM $this->migrationTable" ; $ applied = $ this -> db -> query ( $ query ) ; $ list = array ( ) ; foreach ( $ applied as $ mig ) { $ list [ ] = $ mig [ 'migration_name' ] ; } $ list = array_reverse ( $ list ) ; return $ this -> filter ( self :: ON_GET_APPLIED_MIGRATIONS_FILTER , $ list ) ; }
Returns a list of applied migrations.

@filter ON_GET_APPLIED_MIGRATIONS_FILTER

@return array list of applied migrations
Returns a list of applied migrations .