Removed MySQL references (MySQL changed to DB)

This commit is contained in:
Dmitry Khomutov 2017-01-29 18:53:00 +07:00
commit afd99c12b5
No known key found for this signature in database
GPG key ID: 7EB36C9576F9ECB9
21 changed files with 80 additions and 78 deletions

View file

@ -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);