Skip to content

Commit

Permalink
Fix mistake in Migrator usage docs.
Browse files Browse the repository at this point in the history
Fixes #550
  • Loading branch information
markstory committed Apr 28, 2022
1 parent 5817464 commit 9b12dcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/en/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -876,7 +876,7 @@ If your database also contains tables that are not managed by your application
like those created by PostGIS, then you can exclude those tables from the drop
& truncate behavior using the ``skip`` option::

$migrator->run(['connection' => 'test', 'skip' => 'postgis*']);
$migrator->run(['connection' => 'test', 'skip' => ['postgis*']]);

The ``skip`` option accepts a ``fnmatch()`` compatible pattern to exclude tables
from drop & truncate operations.
Expand Down

0 comments on commit 9b12dcd

Please sign in to comment.