Skip to content

Commit

Permalink
Missing migrations load (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
sertxudev authored Feb 29, 2024
1 parent 94363f9 commit 166de1e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
3 changes: 3 additions & 0 deletions src/CounterServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ public function boot(): void
$this->publishes([
dirname(__DIR__).'/config/counters.php' => $this->app->configPath('counters.php'),
], 'counters-config');

/** Load migrations */
$this->loadMigrationsFrom(dirname(__DIR__).'/database/migrations');
}
}

Expand Down
9 changes: 0 additions & 9 deletions tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,6 @@ class TestCase extends Orchestra
{
use RefreshDatabase;

/**
* Define database migrations.
*/
protected function defineDatabaseMigrations(): void
{
$this->loadLaravelMigrations();
$this->loadMigrationsFrom(dirname(__DIR__).'/database/migrations');
}

/**
* Get package providers.
*
Expand Down

0 comments on commit 166de1e

Please sign in to comment.