diff --git a/Cake/Database/Schema/PostgresSchema.php b/Cake/Database/Schema/PostgresSchema.php index 0a061ee2147..3da0267f48e 100644 --- a/Cake/Database/Schema/PostgresSchema.php +++ b/Cake/Database/Schema/PostgresSchema.php @@ -216,7 +216,7 @@ public function convertIndexDescription(Table $table, $row) { * */ public function describeForeignKeySql($table, $config) { - $sql = 'SELECT + $sql = "SELECT r.conname AS name, r.confupdtype AS update_type, r.confdeltype AS delete_type, @@ -230,7 +230,7 @@ public function describeForeignKeySql($table, $config) { AND n.nspname = ? AND n.oid = c.relnamespace ) - AND r.contype = "f"'; + AND r.contype = 'f'"; $schema = empty($config['schema']) ? 'public' : $config['schema']; return [$sql, [$table, $schema]];