public function getHistory(string $group = 'default'): array
	{
		$this->ensureTable();

		$query = $this->db->table($this->table)
				->where('group', $group)
				->where('namespace', $this->namespace)
				->orderBy('version', 'ASC')
				->get();

		if (! $query)
		{
			return [];
		}

		return $query->getResultArray();
	}
public function getHistory(string $group = 'default'): array
	{
		$this->ensureTable();

		$query = $this->db->table($this->table)
				->where('group', $group)
				->where('namespace', $this->namespace)
				->orderBy('version', 'ASC')
				->get();

		if (! $query)
		{
			return [];
		}

		return $query->getResultArray();
	}
public function getHistory ( string $ group = 'default' ) : array { $ this -> ensureTable ( ) ; $ query = $ this -> db -> table ( $ this -> table ) -> where ( 'group' , $ group ) -> where ( 'namespace' , $ this -> namespace ) -> orderBy ( 'version' , 'ASC' ) -> get ( ) ; if ( ! $ query ) { return [ ] ; } return $ query -> getResultArray ( ) ; }
Grabs the full migration history from the database.

@param string $group

@return array
Grabs the full migration history from the database .