File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Filter options
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Original file line number Diff line number Diff line change 6
6
use Grimzy \LaravelMysqlSpatial \Schema \Builder ;
7
7
use Grimzy \LaravelMysqlSpatial \Schema \Grammars \MySqlGrammar ;
8
8
use Illuminate \Database \MySqlConnection as IlluminateMySqlConnection ;
9
+ use Illuminate \Support \Facades \ParallelTesting ;
9
10
10
11
class MysqlConnection extends IlluminateMySqlConnection
11
12
{
12
13
public function __construct ($ pdo , $ database = '' , $ tablePrefix = '' , array $ config = [])
13
14
{
14
15
parent ::__construct ($ pdo , $ database , $ tablePrefix , $ config );
15
16
16
- if (class_exists (DoctrineType::class)) {
17
+ if (class_exists (DoctrineType::class) && !ParallelTesting:: token () ) {
17
18
// Prevent geometry type fields from throwing a 'type not found' error when changing them
18
19
$ geometries = [
19
20
'geometry ' ,
You can’t perform that action at this time.
0 commit comments