protected function _safeDropColumn($table, $columnData)
	{
		$columnName = $columnData['name'];
		$dropColumnStatement = '';

		if ($this->db->tableHasField($table, $columnName))
		{
			$dropColumnStatement = with(new QueryDropColumnStatement($columnData))
				->toString();
		}

		return $dropColumnStatement;
	}
protected function _safeDropColumn($table, $columnData)
	{
		$columnName = $columnData['name'];
		$dropColumnStatement = '';

		if ($this->db->tableHasField($table, $columnName))
		{
			$dropColumnStatement = with(new QueryDropColumnStatement($columnData))
				->toString();
		}

		return $dropColumnStatement;
	}
protected function _safeDropColumn ( $ table , $ columnData ) { $ columnName = $ columnData [ 'name' ] ; $ dropColumnStatement = '' ; if ( $ this -> db -> tableHasField ( $ table , $ columnName ) ) { $ dropColumnStatement = with ( new QueryDropColumnStatement ( $ columnData ) ) -> toString ( ) ; } return $ dropColumnStatement ; }
Generates DROP COLUMN SQL statement if column present on given table

@param   string  $table       Given table
@param   array   $columnData  Data for column to be dropped
@return  string
Generates DROP COLUMN SQL statement if column present on given table