diff --git a/framework/db/pgsql/Schema.php b/framework/db/pgsql/Schema.php index 04d4533..b13fdf7 100644 --- a/framework/db/pgsql/Schema.php +++ b/framework/db/pgsql/Schema.php @@ -283,7 +283,7 @@ SQL; // Index is an expression like "lower(colname::text)" $indexColumns = preg_replace("/.*\(([^\:]+).*/mi", "$1", $index['indexcolumns']); } else { - $indexColumns = array_map('trim', explode(',', str_replace(['{', '}'], '', $index['indexcolumns']))); + $indexColumns = array_map('trim', explode(',', str_replace(['{', '}', '"', '\\'], '', $index['indexcolumns']))); } $uniqueIndexes[$indexName] = $indexColumns;