Allow multiple schemas in pgsql.

This commit is contained in:
Taylor Otwell 2013-01-05 13:15:59 -06:00
parent c65f284c25
commit 7b846be4c4
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ public function connect($config)
// the database to set the search path.
if (isset($config['schema']))
{
$connection->prepare("SET search_path TO '{$config['schema']}'")->execute();
$connection->prepare("SET search_path TO {$config['schema']}")->execute();
}
return $connection;