My application is using CodeIgniter 2 and want to connect it to postgresql. Database name is tirta
and schema is wening
. My problem is it always connect to schema public
. How can I fix it?
Here is my database configuration:
$db['default']['hostname'] = 'localhost';
$db['default']['username'] = 'postgres';
$db['default']['password'] = 'mypass';
$db['default']['database'] = 'tirta';
$db['default']['schema'] = 'wening';
$db['default']['dbdriver'] = 'postgre';