Initial import
This commit is contained in:
34
tests/mocks/database/config/pgsql.php
Normal file
34
tests/mocks/database/config/pgsql.php
Normal file
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
|
||||
return array(
|
||||
|
||||
// Typical Database configuration
|
||||
'pgsql' => array(
|
||||
'dsn' => '',
|
||||
'hostname' => 'localhost',
|
||||
'username' => 'postgres',
|
||||
'password' => '',
|
||||
'database' => 'ci_test',
|
||||
'dbdriver' => 'postgre'
|
||||
),
|
||||
|
||||
// Database configuration with failover
|
||||
'pgsql_failover' => array(
|
||||
'dsn' => '',
|
||||
'hostname' => 'localhost',
|
||||
'username' => 'not_travis',
|
||||
'password' => 'wrong password',
|
||||
'database' => 'not_ci_test',
|
||||
'dbdriver' => 'postgre',
|
||||
'failover' => array(
|
||||
array(
|
||||
'dsn' => '',
|
||||
'hostname' => 'localhost',
|
||||
'username' => 'postgres',
|
||||
'password' => '',
|
||||
'database' => 'ci_test',
|
||||
'dbdriver' => 'postgre',
|
||||
)
|
||||
)
|
||||
)
|
||||
);
|
||||
Reference in New Issue
Block a user