Commit e951f74c authored by Benjamin Eberlei's avatar Benjamin Eberlei

DBAL-50 - Fix bug in Postgres Platform not handling index column names that...

DBAL-50 - Fix bug in Postgres Platform not handling index column names that are comming from pg_attributes correctly
parent 86cdf09b
......@@ -137,7 +137,7 @@ class PostgreSqlSchemaManager extends AbstractSchemaManager
if ($colNum == $colRow['attnum']) {
$buffer[] = array(
'key_name' => $row['relname'],
'column_name' => $colRow['attname'],
'column_name' => trim($colRow['attname']),
'non_unique' => !$row['indisunique'],
'primary' => $row['indisprimary']
);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment