src/db/Migration.php
public function hasColumn ($table, $column)
		{
			$schema = $this->db->getTableSchema($table);

			return isset($schema->columns[ $column ]);
		}
public function hasColumn ($table, $column)
		{
			$schema = $this->db->getTableSchema($table);

			return isset($schema->columns[ $column ]);
		}
public function hasColumn ( $ table , $ column ) { $ schema = $ this -> db -> getTableSchema ( $ table ) ; return isset ( $ schema -> columns [ $ column ] ) ; }
Checks whether column for a table  exist.

@param string $table
@param string $column

@return bool
Checks whether column for a table exist .