Added old database for PriceHistory

This commit is contained in:
marcdeb1 2018-12-18 13:51:19 +01:00
parent 25a50ca2aa
commit 5c681657cb

View file

@ -222,16 +222,16 @@ return [
'className' => 'Cake\Database\Connection', 'className' => 'Cake\Database\Connection',
'driver' => 'Cake\Database\Driver\Mysql', 'driver' => 'Cake\Database\Driver\Mysql',
'persistent' => false, 'persistent' => false,
'host' => 'chainquery.lbry.io:3600', 'host' => 'chainquery.lbry.io',
/** /**
* CakePHP will use the default DB port based on the driver selected * CakePHP will use the default DB port based on the driver selected
* MySQL on MAMP uses port 8889, MAMP users will want to uncomment * MySQL on MAMP uses port 8889, MAMP users will want to uncomment
* the following line and set the port accordingly * the following line and set the port accordingly
*/ */
//'port' => 'non_standard_port_number', 'port' => '3306',
'username' => 'marcdeb', 'username' => 'marcdeb',
'password' => '3885fc6d0b71befe72a327f47f36c0911057', 'password' => '3885fc6d0b71befe72a327f47f36c0911057',
'database' => 'lbry', 'database' => 'chainquery',
'encoding' => 'utf8', 'encoding' => 'utf8',
'timezone' => 'UTC', 'timezone' => 'UTC',
'flags' => [], 'flags' => [],
@ -259,6 +259,27 @@ return [
'url' => env('DATABASE_URL', 'chainquery.lbry.io:3600'), 'url' => env('DATABASE_URL', 'chainquery.lbry.io:3600'),
], ],
'localdb' => [
'className' => 'Cake\Database\Connection',
'driver' => 'Cake\Database\Driver\Mysql',
'persistent' => false,
'host' => 'localhost',
/**
* CakePHP will use the default DB port based on the driver selected
* MySQL on MAMP uses port 8889, MAMP users will want to uncomment
* the following line and set the port accordingly
*/
//'port' => '3306',
'username' => 'my_app',
'password' => 'secret',
'database' => 'my_app',
'encoding' => 'utf8',
'timezone' => 'UTC',
'flags' => [],
'cacheMetadata' => true,
'log' => false,
],
/** /**
* The test connection is used during the test suite. * The test connection is used during the test suite.