don't enforce semicolon at end of dsn
propel:database:create is not working if you have dbname at end of dsn without semicolon
This commit is contained in:
parent
ec464b1f8f
commit
a730943db2
|
@ -91,7 +91,7 @@ class DatabaseCreateCommand extends AbstractCommand
|
|||
$dbName = $this->parseDbName($config['dsn']);
|
||||
|
||||
$config['dsn'] = preg_replace(
|
||||
'#dbname='.$dbName.';#',
|
||||
'#dbname='.$dbName.';?#',
|
||||
'',
|
||||
$config['dsn']
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue