public function compile()
	{
		$conditions = $this->getConditions();

		if (empty($conditions))
		{
			throw new \Peyote\Exception("\Peyote\Alter is an empty statement");
		}

		$query = array("ALTER", "TABLE", $this->getTable());

		foreach ($conditions as $condition)
		{
			$query[] = rtrim(join(' ', $condition));
		}

		return join(' ', $query);
	}
public function compile()
	{
		$conditions = $this->getConditions();

		if (empty($conditions))
		{
			throw new \Peyote\Exception("\Peyote\Alter is an empty statement");
		}

		$query = array("ALTER", "TABLE", $this->getTable());

		foreach ($conditions as $condition)
		{
			$query[] = rtrim(join(' ', $condition));
		}

		return join(' ', $query);
	}
{@inheritDoc}

@throws \Peyote\Exception