diff --git a/src/Concerns/Migrations.php b/src/Concerns/Migrations.php index a83d480..c0a1576 100644 --- a/src/Concerns/Migrations.php +++ b/src/Concerns/Migrations.php @@ -14,6 +14,8 @@ */ trait Migrations { + protected bool $hasMigrations = false; + /** * @var array> */ @@ -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();