public function addColumn($type, $column, array $parameters = array())
	{
		// check against existing
		if(!$this->builder->hasColumn($this->table, $column))
			return parent::addColumn($type, $column, $parameters);

		// else probably compare and do some alteration
	}
public function addColumn($type, $column, array $parameters = array())
	{
		// check against existing
		if(!$this->builder->hasColumn($this->table, $column))
			return parent::addColumn($type, $column, $parameters);

		// else probably compare and do some alteration
	}
public function addColumn ( $ type , $ column , array $ parameters = array ( ) ) { // check against existing if ( ! $ this -> builder -> hasColumn ( $ this -> table , $ column ) ) return parent :: addColumn ( $ type , $ column , $ parameters ) ; // else probably compare and do some alteration }
Add column only if there isn't one.
So it will not throw if there already exists.
Add column only if there isn t one . So it will not throw if there already exists .