From fa2b58589ee7f14589f9be841a97861db74a49f7 Mon Sep 17 00:00:00 2001 From: Piotr Date: Sat, 14 Dec 2024 19:02:45 +0100 Subject: [PATCH] Docs: Set config name to `:memory:` in docs example (#2335) --- docs/en/commands.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/en/commands.rst b/docs/en/commands.rst index f6501c39a..4c3bd277d 100644 --- a/docs/en/commands.rst +++ b/docs/en/commands.rst @@ -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());