Skip to content

Commit

Permalink
Add Migrations middleware
Browse files Browse the repository at this point in the history
  • Loading branch information
dereuromark committed Nov 26, 2024
1 parent f69f0fd commit 3f11d89
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Middleware/MigrationsMiddleware.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ class MigrationsMiddleware implements MiddlewareInterface
use InstanceConfigTrait;

protected array $_defaultConfig = [
'paths' => ['migrations' => CONFIG . 'Migrations'],
'paths' => [
'migrations' => ROOT . DS . 'config' . DS . 'Migrations' . DS,
],
'environment' => [
'adapter' => null,
'connection' => 'default',
Expand Down

0 comments on commit 3f11d89

Please sign in to comment.