Skip to content

Commit fa2b585

Browse files
authored
Docs: Set config name to :memory: in docs example (#2335)
1 parent 1b64777 commit fa2b585

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/en/commands.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,8 @@ using the Manager class :
397397
$configArray = require('phinx.php');
398398
$configArray['environments']['test'] = [
399399
'adapter' => 'sqlite',
400-
'connection' => $pdo
400+
'connection' => $pdo,
401+
'name' => ':memory:',
401402
];
402403
$config = new Config($configArray);
403404
$manager = new Manager($config, new StringInput(' '), new NullOutput());

0 commit comments

Comments
 (0)