Skip to content

Commit cb0ac6d

Browse files
committed
Merge branch 'main' into release
2 parents 40d1270 + 06f8065 commit cb0ac6d

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

src/Blueprint/SimplifyingBlueprint.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ public function __construct($tableName, $prefix = '')
1515
{
1616
/** @var Connection */
1717
$connection = DB::connection();
18+
$connection->useDefaultSchemaGrammar();
1819
parent::__construct($connection, $prefix . $tableName);
1920
}
2021

tests/Unit/BaseTestCase.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ protected function setUp(): void
1818
->atLeast()
1919
->times(0)
2020
->andReturn($this->mock(Grammar::class))
21+
->getMock()
22+
->expects('useDefaultSchemaGrammar')
23+
->atLeast()
24+
->times(0)
2125
->getMock();
2226
DB::shouldReceive('connection')->atLeast()->times(0)->andReturn($connection);
2327
}

0 commit comments

Comments
 (0)