Browse Source

Allow multiple schemas in pgsql.

Taylor Otwell 12 years ago
parent
commit
7b846be4c4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      laravel/database/connectors/postgres.php

+ 1 - 1
laravel/database/connectors/postgres.php

@@ -48,7 +48,7 @@ class Postgres extends Connector {
 		// 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;