Skip to content

Commit

Permalink
Docs
Browse files Browse the repository at this point in the history
  • Loading branch information
dereuromark committed Dec 2, 2024
1 parent cbc0eab commit 232c1b5
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/en/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1185,9 +1185,15 @@ to alert developers about new migrations that are not yet being applied::

use Migrations\Middleware\PendingMigrationsMiddleware;

$config = [
'plugins' => [
... // Optionally include a list of plugins with migrations to check.
],
];

$middlewareQueue
... // ErrorHandler middleware
->add(new PendingMigrationsMiddleware($yourConfig))
->add(new PendingMigrationsMiddleware($config))
... // rest


Expand Down

0 comments on commit 232c1b5

Please sign in to comment.