Commit e68571f1 authored by tacone's avatar tacone

Stub Schema::hasColumn(), fixes #579

parent e557a343
...@@ -15,6 +15,29 @@ class Builder extends \Illuminate\Database\Schema\Builder { ...@@ -15,6 +15,29 @@ class Builder extends \Illuminate\Database\Schema\Builder {
$this->connection = $connection; $this->connection = $connection;
} }
/**
* Determine if the given table has a given column.
*
* @param string $table
* @param string $column
* @return bool
*/
public function hasColumn($table, $column)
{
return true;
}
/**
* Determine if the given table has given columns.
*
* @param string $table
* @param array $columns
* @return bool
*/
public function hasColumns($table, array $columns)
{
return true;
}
/** /**
* Determine if the given collection exists. * Determine if the given collection exists.
* *
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment