Skip to content

Commit

Permalink
Merge pull request #5124 from AlexHowansky/oracle
Browse files Browse the repository at this point in the history
Improve performance of Oracle constraint query.
  • Loading branch information
morozov authored Dec 21, 2021
2 parents fffcfbc + 056dce9 commit 9e7b382
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Platforms/OraclePlatform.php
Original file line number Diff line number Diff line change
Expand Up @@ -462,6 +462,7 @@ public function getListTableIndexesSQL($table, $database = null)
SELECT ucon.constraint_type
FROM user_constraints ucon
WHERE ucon.index_name = uind_col.index_name
AND ucon.table_name = uind_col.table_name
) AS is_primary
FROM user_ind_columns uind_col
WHERE uind_col.table_name = " . $table . '
Expand Down

0 comments on commit 9e7b382

Please sign in to comment.