Fixed temporary configuration for database creation (#419)
* Fixed temporary configuration for database creation * Fixed regular expression
This commit is contained in:
parent
911304bbec
commit
830e68f344
|
@ -91,7 +91,7 @@ class DatabaseCreateCommand extends AbstractCommand
|
||||||
$dbName = $this->parseDbName($config['dsn']);
|
$dbName = $this->parseDbName($config['dsn']);
|
||||||
|
|
||||||
$config['dsn'] = preg_replace(
|
$config['dsn'] = preg_replace(
|
||||||
'#;?dbname='.$dbName.';?#',
|
'#;?dbname='.$dbName.'#',
|
||||||
'',
|
'',
|
||||||
$config['dsn']
|
$config['dsn']
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue