Removed MySQL references (MySQL changed to DB)
This commit is contained in:
parent
5396d580b3
commit
afd99c12b5
21 changed files with 80 additions and 78 deletions
|
|
@ -35,13 +35,16 @@ class Application extends BaseApplication
|
|||
'php-censor' => [
|
||||
'adapter' => $databaseSettings['type'],
|
||||
'host' => $databaseSettings['servers']['write'][0]['host'],
|
||||
'port' => $databaseSettings['port'],
|
||||
'name' => $databaseSettings['name'],
|
||||
'user' => $databaseSettings['username'],
|
||||
'pass' => $databaseSettings['password'],
|
||||
],
|
||||
],
|
||||
];
|
||||
|
||||
if (!empty($databaseSettings['port'])) {
|
||||
$phinxSettings['environments']['php-censor']['port'] = (integer)$databaseSettings['port'];
|
||||
}
|
||||
|
||||
$phinxConfig = new PhinxConfig($phinxSettings);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue