Skip to content

Commit

Permalink
Docs: Set config name to :memory: in docs example (#2335)
Browse files Browse the repository at this point in the history
  • Loading branch information
piotr-cz authored Dec 14, 2024
1 parent 1b64777 commit fa2b585
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/en/commands.rst
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,8 @@ using the Manager class :
$configArray = require('phinx.php');
$configArray['environments']['test'] = [
'adapter' => 'sqlite',
'connection' => $pdo
'connection' => $pdo,
'name' => ':memory:',
];
$config = new Config($configArray);
$manager = new Manager($config, new StringInput(' '), new NullOutput());
Expand Down

0 comments on commit fa2b585

Please sign in to comment.