diff --git a/common/config/db.php b/common/config/db.php index 57415e5..529c5bb 100644 --- a/common/config/db.php +++ b/common/config/db.php @@ -10,9 +10,12 @@ 'components' => [ 'db' => [ 'class' => 'yii\db\Connection', - 'dsn' => 'mysql:host=localhost;dbname=app-basic', + /*'dsn' => 'mysql:host=localhost;dbname=app-basic_2', 'username' => 'app-basic', - 'password' => 'hDZwcmEYc64vBtEB', + 'password' => 'hDZwcmEYc64vBtEB',*/ + 'dsn' => 'pgsql:host=localhost;dbname=test', + 'username' => 'test', + 'password' => 'gk-wIJI4OMIYqOJ4EfW1jD1Yj', 'charset' => 'utf8', 'enableSchemaCache' => true, 'schemaCacheDuration' => 3600,