Skip to content

Commit

Permalink
v73.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
gammamatrix committed Jul 8, 2024
1 parent d90781a commit 43143f1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Concerns/Migrations.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
*/
trait Migrations
{
protected bool $hasMigrations = false;

/**
* @var array<string, array<int, string>>
*/
Expand Down Expand Up @@ -46,7 +48,7 @@ trait Migrations
*/
protected function defineDatabaseMigrations()
{
if (! empty(env('TEST_DB_MIGRATIONS'))) {
if (! empty($this->hasMigrations) && ! empty(env('TEST_DB_MIGRATIONS'))) {

$folderForVendor = $this->verifyPlaygroundTestExists();

Expand Down

0 comments on commit 43143f1

Please sign in to comment.