Skip to content

Commit

Permalink
Update databases.md
Browse files Browse the repository at this point in the history
  • Loading branch information
crynobone authored Oct 30, 2024
1 parent 1a82827 commit 7836c8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions testbench/the-basic/databases.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,12 +111,12 @@ class TestCase extends \Orchestra\Testbench\TestCase
}
```

You can also run migrations for `cache`, `jobs`, `notifications` or `session` by providing additional paramters to `Orchestra\Testbench\Attributes\WithMigration` attribute:
You can also run migrations for `cache`, `queue`, `notifications` or `session` by providing additional paramters to `Orchestra\Testbench\Attributes\WithMigration` attribute:

```php
use Orchestra\Testbench\Attributes\WithMigration;

#[WithMigration('laravel', 'cache', 'job')] # [!code ++:2] # [!code focus:2]
#[WithMigration('laravel', 'cache', 'queue')] # [!code ++:2] # [!code focus:2]
#[WithMigration('session')]
class TestCase extends \Orchestra\Testbench\TestCase
{
Expand Down

0 comments on commit 7836c8a

Please sign in to comment.