Skip to content

Commit e9f992a

Browse files
committed
include the index name in the error message
1 parent 6af1528 commit e9f992a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/Doctrine/DBAL/Schema/Oracle121SchemaManager.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -256,8 +256,8 @@ protected function _getPortableTableIndexesList($tableIndexRows, $tableName=null
256256
break;
257257
}
258258
if (!$expressionMapped) {
259-
throw new DBALException('Could not map the column expression ' . $tableIndexRow['column_expression']
260-
. 'to a column, because other expressions in this index have been mapped to all available column names');
259+
throw new DBALException("Could not map the column expression '$tableIndexRow[column_expression]'"
260+
. " of the index $tableIndexRow[name] to a column, because other expressions in this index have been mapped to all available column names");
261261
}
262262
}
263263
$tableIndexRow = $buffer;

0 commit comments

Comments
 (0)