Closed
Description
Hello, thank you for this package.
I'm using some lib that uses Schema::hasColumn($table, $field)
but Jenssegers\Mongodb\Schema\Builder
does not override it and I get the following stacktrace:
in Builder.php line 102
at FatalErrorException->__construct() in HandleExceptions.php line 133
at HandleExceptions->fatalExceptionFromError() in HandleExceptions.php line 118
at HandleExceptions->handleShutdown() in HandleExceptions.php line 0
at Builder->getColumnListing() in Builder.php line 69
at Builder->hasColumn() in Field.php line 455
I suggest to just stub the method:
public function hasColumn($table, $column)
{
return true;
}
That worked very well in my case.
Metadata
Metadata
Assignees
Labels
No labels